From 4a7a713c527f57c355bc817f16fc6d955b8cce9b Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 28 Apr 2021 07:19:07 -0500 Subject: 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 --- queries/python/injections.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queries/python') diff --git a/queries/python/injections.scm b/queries/python/injections.scm index 197e725e5..fb939cc0c 100644 --- a/queries/python/injections.scm +++ b/queries/python/injections.scm @@ -23,4 +23,4 @@ (((expression_statement (assignment)) . (expression_statement (string) @rst)) (#offset! @rst 0 3 0 -3)) -(comment) @comment +(comment) @comment @combined -- cgit v1.2.3-70-g09d2