cdata / vim-tagged-template

Highlights JavaScript/TypeScript tagged Template Strings with custom syntaxes
MIT License
13 stars 1 forks source link

Breaks JS highlighting - html highlighting is not really usable #3

Open dman777 opened 6 years ago

dman777 commented 6 years ago

Thanks for the effort on this.... so I got it working. But it does not highlight in the manner where it is useable(as othree html5 does). Also, it breaks my vim-javascript highlighting.

I realize I am at a disadvantage here because I am not using a Microsoft product that Polymer is now geared for, but it would be nice if I could use vim with Polymer 3 as I did with Polymer 1.

pic1

Without this plugin with no breakage(as the JS should look): pic1

dman777 commented 6 years ago

UPADTE:

I took another swing at this. I got it working correctly when I disabled the pangross/vim-javascript plugin. Is there away to use both of these plugins at the same time? For the JS code, vim-javascript is better. It parses better giving more syntax groups that allow for JS customizations.