mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -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
201 B
Scheme
12 lines
201 B
Scheme
(macro_invocation
|
|
(token_tree) @rust)
|
|
|
|
(macro_definition
|
|
(macro_rule
|
|
left: (token_tree_pattern) @rust
|
|
right: (token_tree) @rust))
|
|
|
|
[
|
|
(line_comment)
|
|
(block_comment)
|
|
] @comment @combined
|