mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 14:30:05 -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
6 lines
175 B
Scheme
6 lines
175 B
Scheme
((predicate
|
|
name: (identifier) @_name
|
|
parameters: (parameters (string) @regex))
|
|
(#match? @_name "^#?(not-)?(match|vim-match|lua-match)$"))
|
|
|
|
(comment) @comment @combined
|