fix(astro): highlight self-closing component tags

This commit is contained in:
net-solution 2024-11-22 16:00:15 +00:00 committed by Christian Clason
parent 305c265bdb
commit 94853ae932

View file

@ -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]"))