mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(astro): highlight self-closing component tags
This commit is contained in:
parent
305c265bdb
commit
94853ae932
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@
|
|||
(tag_name) @type)
|
||||
(#lua-match? @type "^[A-Z]"))
|
||||
|
||||
((self_closing_tag
|
||||
(tag_name) @type)
|
||||
(#lua-match? @type "^[A-Z]"))
|
||||
|
||||
((erroneous_end_tag
|
||||
(erroneous_end_tag_name) @type)
|
||||
(#lua-match? @type "^[A-Z]"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue