mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
I haven't included parsing the `style` tag, since the only applicable queries we have are CSS (which actually works fine for SCSS too).
38 lines
567 B
Scheme
38 lines
567 B
Scheme
[
|
|
(component)
|
|
(template_element)
|
|
(start_tag)
|
|
(tag_name)
|
|
(directive_attribute)
|
|
(directive_dynamic_argument)
|
|
(directive_dynamic_argument_value)
|
|
(component)
|
|
(end_tag)
|
|
] @tag
|
|
|
|
(erroneous_end_tag_name) @error
|
|
(attribute_name) @property
|
|
(attribute_value) @string
|
|
(quoted_attribute_value) @string
|
|
(comment) @comment
|
|
|
|
(text) @none
|
|
(element) @string
|
|
(interpolation) @punctuation.special
|
|
(interpolation
|
|
(raw_text) @none)
|
|
|
|
[
|
|
(directive_modifier)
|
|
(directive_name)
|
|
(directive_argument)
|
|
] @method
|
|
|
|
"=" @operator
|
|
|
|
[
|
|
"<"
|
|
">"
|
|
"</"
|
|
"/>"
|
|
] @tag.delimiter
|