tree-sitter / tree-sitter-html

HTML grammar for Tree-sitter
MIT License
136 stars 72 forks source link

[Feature Request] Differentiate void elements #97

Open LeviOP opened 6 months ago

LeviOP commented 6 months ago

It would be nice if there was some way for void elements to be differentiated from every other element node, whether it be via a different node entirely or a named node. I would specifically like this so that indentation can be correct in nvim-treesitter/nvim-treesitter#6332, although this probably would be related to #88 as well.