summaryrefslogtreecommitdiff
path: root/queries/php
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/php
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/php')
-rw-r--r--queries/php/injections.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/php/injections.scm b/queries/php/injections.scm
index 8683d6ce..c7f97cac 100644
--- a/queries/php/injections.scm
+++ b/queries/php/injections.scm
@@ -1,3 +1,3 @@
(text) @html
-(comment) @comment
+(comment) @comment @combined