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

* small fix syntax highlighting in vue.js files

* changes after review by mikedavis
pull/11746/head
Mykyta 2 months ago committed by GitHub
parent 5717aa8e35
commit 274c660a0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save