You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried this with a handful of themes using version c907b15. Is anyone else seeing highlighted template strings? It looks like this feature was added in #51.
Rather than patching all of our themes why not highlight javaScriptTemplateString inside this repo? I added a line here to highlight template strings with String and it's working nicely.
Would be happy to open a pull request if that approach makes sense.
Activity
[-]ES6 template strings are not working[/-][+]ES6 template strings are not being highlighted[/+]averted commentedon Sep 13, 2015
Yep, this is working fine for me:

You have to alter your colorscheme for it to pick up

javaScriptTemplate*
ids introduced in #51:This is a custom scheme I'm using so it will be different for you, but you get the idea.
jlipps commentedon Sep 14, 2015
just submitted a patch for tomorrow-night in case anyone is using that: chriskempson/vim-tomorrow-theme#44
mmwtsn commentedon Sep 14, 2015
Ah, interesting. Thanks for explaining that.
Rather than patching all of our themes why not highlight
javaScriptTemplateString
inside this repo? I added a line here to highlight template strings withString
and it's working nicely.Would be happy to open a pull request if that approach makes sense.
sirbrillig commentedon Dec 29, 2015
If it's helpful for anyone else who ends up here, adding this to your vimrc should take care of the highlighting for most themes: https://gist.github.com/sirbrillig/fc0630baf46a2c10667f