tree-sitter / tree-sitter-javascript

Javascript grammar for tree-sitter
MIT License
363 stars 114 forks source link

support for lit-element #163

Closed tamis-laan closed 3 years ago

tamis-laan commented 3 years ago

It would be nice to have syntax highlighting support for lit-element. Now your just starting at a mono colored screen.

patrickt commented 3 years ago

Hi there 👋🏻 Can you clarify your request a little? I’m not sure what you mean by lit-element. As regards syntax highlighting, usually issues like that are the responsibility of your text editor’s tree-sitter integration.

tamis-laan commented 3 years ago

Ah sorry I have found out that I did not have the tree sitter html package installed, no html tagged template literals are interpreted by treesitter as html and are syntax highlighted appropriately.