helix-mirror/runtime/queries/vue/highlights.scm
Mykyta 274c660a0e
small fix syntax highlighting in vue.js files (#11706)
* small fix syntax highlighting in vue.js files

* changes after review by mikedavis
2024-09-21 19:12:39 +02:00

29 lines
485 B
Scheme

(tag_name) @tag
(end_tag) @tag
(directive_name) @keyword
(directive_argument) @constant
(attribute
(attribute_name) @attribute
[(attribute_value) (quoted_attribute_value)]? @string)
(directive_attribute
(directive_name) @attribute
(directive_argument)? @attribute
(directive_modifiers)? @attribute
[(attribute_value) (quoted_attribute_value)]? @string)
(comment) @comment
[
"<"
">"
"</"
"{{"
"}}"
"/>"
] @punctuation.bracket
"=" @punctuation.delimiter