summaryrefslogtreecommitdiff
path: root/queries/ecma/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/ecma/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/ecma/injections.scm')
-rw-r--r--queries/ecma/injections.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/ecma/injections.scm b/queries/ecma/injections.scm
index 0816b197..1552efc9 100644
--- a/queries/ecma/injections.scm
+++ b/queries/ecma/injections.scm
@@ -1,5 +1,5 @@
-(comment) @jsdoc
-(comment) @comment
+(comment) @jsdoc @combined
+(comment) @comment @combined
((regex_pattern) @regex)