-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve coloring of block expressions #94
Comments
Hey @aeschli, I finally got around to have a look at this and created a Pull request: #95. It seems to be working, but I'm not sure if it's quite right yet. The colours with Sublime Text's default theme seem a bit off, so I'm thinking this would make sense if the closing tags (eg |
Cool. Yes, coloring the closing tag like the block expression sounds like the right thing to me, and also the other suggestions make sense. |
I think having the same colors for inline and block expressions is totally fine (at least for me). |
OK, I just pushed a new version, in the end I decided not to apply the same scope on inline expressions as that's shared with variables and it was just too much. But all block expression opening and closing tags, and Let me know if it works well for you! |
{{
and#list
get scopesupport.constant.handlebars
.It would be nice if if the block expressions gets a scope like: 'keyword.control'. That's matching what JavaScript gives to keywords like 'if', 'while'
firstName
getsvariable.parameter.handlebars
The text was updated successfully, but these errors were encountered: