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

Proper highlighting of '../' when accessing parent context (to pass argument) #86

Closed louwers closed 7 years ago

louwers commented 8 years ago

It's possible to access the parent context in for example an {{#each}} block. This works fine with {{../value}}, but it doesn't work when passing a value as an argument:

{{> template arg=../value}}

In this case the ../ isn't highlighted (GitHub's Handlebars syntax highlighting seems to suffer the same fate).

daaain commented 7 years ago

Thanks for the report, this is fixed now!

You can have one guess which syntax definition repository does Github use for embedded Handlebars highlighting ;)