mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 23:10:11 -04:00
add @tag.attribute for html like attributes
This commit is contained in:
parent
29113e6892
commit
fb5d6e04a8
5 changed files with 8 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
close_tag: (jsx_closing_element ["<" "/" ">"] @tag.delimiter))
|
||||
(jsx_self_closing_element ["/" ">" "<"] @tag.delimiter)
|
||||
(jsx_fragment [">" "<" "/"] @tag.delimiter)
|
||||
(jsx_attribute (property_identifier) @tag.attribute)
|
||||
|
||||
(jsx_opening_element
|
||||
name: (identifier) @tag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue