mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
* Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
12 lines
227 B
Scheme
12 lines
227 B
Scheme
((style_element
|
|
(raw_text) @css))
|
|
|
|
((attribute
|
|
(attribute_name) @_attr
|
|
(quoted_attribute_value (attribute_value) @css))
|
|
(#eq? @_attr "style"))
|
|
|
|
((script_element
|
|
(raw_text) @javascript))
|
|
|
|
(comment) @comment @combined
|