othree / html5.vim

HTML5 omnicomplete and syntax
http://www.vim.org/scripts/script.php?script_id=3236
934 stars 76 forks source link

lit-html string templating stops highlighting #96

Closed dman777 closed 5 years ago

dman777 commented 6 years ago

I can't check the version of html5 plugin(don't know how) but I installed it with Vundle about two months ago.

I am using Polymer 3 which uses html templates. The highlighting does not hightlight because of the templating. Any ideas how to fix?

pic1

othree commented 6 years ago

Hi This plugin only works when filetype=html And a polymer component is javascript file So you need other plugin to help You can try this https://github.com/cdata/vim-tagged-template I didn't tried before. It will be great if you can tell me the result.

dman777 commented 6 years ago

Thanks for the reply!

Result is horrible for https://github.com/cdata/vim-tagged-template. It lacks the syntax objects that vim-javascript has for themeing and coloring. Also, indention is non working.

Instead, effort is being focused on jonsmithers/vim-html-template-literals

othree commented 5 years ago

Looks like jonsmithers/vim-html-template-literals already works great? Close this issue for now. If there is still something I can improve. Please let me know.