Add basic HTML treesitter support

This commit is contained in:
Mika Raunio 2023-01-25 06:20:17 +02:00
parent 911373eb6b
commit e213ddb9aa

15
queries/html/aerial.scm Normal file
View file

@ -0,0 +1,15 @@
((doctype) @name
(#set! "kind" "Module")
) @type
(_
[
(start_tag (tag_name) @name)
(self_closing_tag (tag_name) @name)
]
(#set! "kind" "Snippet")
) @type
(attribute (attribute_name) @name
(#set! "kind" "Field")
) @type