e7e87db94e
- Removes -recurse from handlebars comments. Handlebars parsers (janl/mustache.js, ember-cli/ember-cli-htmlbars), do not treat comments as recursive, so don't highlight them as so. - Creates shared/hbs-file highligher group. This represents a handlebars file, which is html that happens to contain some handlebars tags. - Augments the shared/html highlighter when needed. Because handlebars lives inside of html, we need to add the highlighter inside of it. Since there's no way to scope modifications of a shared highlighter to a window, here I'm modifying/unmodifying the shared/html highlighter whenever the user attaches/detaches a filetype of "hbs" to/from the window. - Matches namespaced helpers as well. In htmlbars, helpers (components) can have '/'s in them, so make sure to continue highlighting through those. Also removes unused capturing groups. - Allows for de-indenting when closing a block expression - Brings in html highlighter hooks - Improves indent matching on close of yielded blocks. Previous version just flat out didn't work. |
||
---|---|---|
.. | ||
base | ||
core | ||
extra |