mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
Add basic HTML treesitter support
This commit is contained in:
parent
911373eb6b
commit
e213ddb9aa
1 changed files with 15 additions and 0 deletions
15
queries/html/aerial.scm
Normal file
15
queries/html/aerial.scm
Normal 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
|
Loading…
Reference in a new issue