liuderchi / ide-html

:atom: Atom-IDE for HTML, Go Template, Mustache and other Templates
https://atom.io/packages/ide-html
MIT License
20 stars 5 forks source link

New Grammar `html` for tree-sitter support in the future #23

Open liuderchi opened 6 years ago

liuderchi commented 6 years ago

According to that new grammar parser tree-sitter becoming available in stable channel 1.25,

in the future we can expect new grammar html (c.f. currently we have source.html) for this package when the new HTML parser powered by tree-sitter is ready.

P.S.


TODO

damieng commented 6 years ago

It should be pretty easy to add support - you just need to add the new grammar name to the list, e.g. https://github.com/atom/ide-typescript/commit/8edda74987fbda205105a58b20ad1c9405474161#diff-16b7d75b70953cbf4755508170f2f24cR4

liuderchi commented 6 years ago

@damieng thanks for your sharing 😸

Currently my plan is to add html support after something like tree-sitter-html is ready.