summaryrefslogtreecommitdiff
path: root/queries/query/injections.scm
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-04-28 07:19:07 -0500
committerGitHub <noreply@github.com>2021-04-28 07:19:07 -0500
commit4a7a713c527f57c355bc817f16fc6d955b8cce9b (patch)
tree0792822bfc151839806ac74e2a02698736f64bd4 /queries/query/injections.scm
parent563616738babb10602b50633ae70c4d9b0f91a27 (diff)
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
Diffstat (limited to 'queries/query/injections.scm')
-rw-r--r--queries/query/injections.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/query/injections.scm b/queries/query/injections.scm
index 95ce2978..607f0693 100644
--- a/queries/query/injections.scm
+++ b/queries/query/injections.scm
@@ -3,4 +3,4 @@
parameters: (parameters (string) @regex))
(#match? @_name "^#?(not-)?(match|vim-match|lua-match)$"))
-(comment) @comment
+(comment) @comment @combined