On Sun, Nov 2, 2014 at 11:37 PM, David McNab <[email protected]> wrote:

​> ​
Is there anything I'm missing?

​@language hbs will work in @file trees.

I forgot to mention two other changes you must make if you don't want to
use @language, as in your example with @nosent trees.

1. To write the proper delims for .hbs files, add the following entry in
define_language_delims_dict in leoApp.py::

    "hbs" : "<!-- -->", # McNab: delegate to html.

2. To automatically use @language hbs in .hbs files, add the following
entry in define_extension_dict in leoApp.py:

Rev 9996130 adds entries for "hbs", "handlebars" and "less".  I've tested
only for .hbs files.  Feel free to commit other entries if you like.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to