small fix syntax highlighting in vue.js files (#11706)

* small fix syntax highlighting in vue.js files

* changes after review by mikedavis
This commit is contained in:
Mykyta 2024-09-21 20:12:39 +03:00 committed by GitHub
parent 5717aa8e35
commit 274c660a0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,9 +6,13 @@
(attribute (attribute
(attribute_name) @attribute (attribute_name) @attribute
(quoted_attribute_value [(attribute_value) (quoted_attribute_value)]? @string)
(attribute_value) @string)
) (directive_attribute
(directive_name) @attribute
(directive_argument)? @attribute
(directive_modifiers)? @attribute
[(attribute_value) (quoted_attribute_value)]? @string)
(comment) @comment (comment) @comment
@ -18,4 +22,7 @@
"</" "</"
"{{" "{{"
"}}" "}}"
"/>"
] @punctuation.bracket ] @punctuation.bracket
"=" @punctuation.delimiter