1
0
mirror of https://github.com/helix-editor/helix.git synced 2024-12-23 08:21:54 +04:00
helix-mirror/runtime/queries/vue/highlights.scm
Mykyta 274c660a0e
small fix syntax highlighting in vue.js files ()
* 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