aboutsummaryrefslogtreecommitdiffstats
path: root/queries/lua
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/lua
parentfolds(c): fold at case_statement (diff)
downloadnvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.tar
nvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.tar.gz
nvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.tar.bz2
nvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.tar.lz
nvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.tar.xz
nvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.tar.zst
nvim-treesitter-4a7a713c527f57c355bc817f16fc6d955b8cce9b.zip
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/lua')
-rw-r--r--queries/lua/injections.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/lua/injections.scm b/queries/lua/injections.scm
index 7bca11bb8..196204d62 100644
--- a/queries/lua/injections.scm
+++ b/queries/lua/injections.scm
@@ -9,4 +9,4 @@
(#eq? @_cdef_identifier "cdef")
)
-(comment) @comment
+(comment) @comment @combined