mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
32 lines
594 B
Scheme
32 lines
594 B
Scheme
((style_element
|
|
(raw_text) @css))
|
|
|
|
(
|
|
(style_element
|
|
(start_tag
|
|
(attribute
|
|
(quoted_attribute_value (attribute_value) @_lang)))
|
|
(raw_text) @scss)
|
|
(#match? @_lang "(scss|postcss|less)")
|
|
)
|
|
|
|
((script_element
|
|
(raw_text) @javascript))
|
|
|
|
(
|
|
(script_element
|
|
(start_tag
|
|
(attribute
|
|
(quoted_attribute_value (attribute_value) @_lang)))
|
|
(raw_text) @typescript)
|
|
(#match? @_lang "(ts|typescript)")
|
|
)
|
|
|
|
((interpolation
|
|
(raw_text) @javascript))
|
|
|
|
((directive_attribute
|
|
(quoted_attribute_value
|
|
(attribute_value) @javascript)))
|
|
|
|
(comment) @comment
|