daaain / Handlebars

Fullest Handlebars.js templating support for Sublime Text 2 / 3. Also drives syntax colouring on Github and in Visual Studio Code. Install from: https://packagecontrol.io/packages/Handlebars.
MIT License
301 stars 48 forks source link

Defeat greedy 'meta.scope.outside-tag.html' scope selectors #63

Closed daaain closed 9 years ago

daaain commented 9 years ago

For some reason the Atom HTML package (which this package extends) has some greedy selectors which get precedence over things like Handlebars blocks, comments, etc.

The offending ones start here: https://github.com/atom/language-html/blob/master/grammars/html.cson#L338

Not really sure at the moment what's going on, so needs a bit more investigation.

daaain commented 9 years ago

Apparently version 0.38.0 of the HTML package fixes this, phew!

https://github.com/atom/language-html/commit/3a9bedebfa26d916488df45e99ce536b7abdfff4