mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
Comment: use @combined to create just one tree per buffer (#1252)
* 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
This commit is contained in:
parent
563616738b
commit
4a7a713c52
42 changed files with 46 additions and 41 deletions
|
|
@ -23,4 +23,4 @@
|
|||
(((expression_statement (assignment)) . (expression_statement (string) @rst))
|
||||
(#offset! @rst 0 3 0 -3))
|
||||
|
||||
(comment) @comment
|
||||
(comment) @comment @combined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue