nvim-treesitter/queries/lua/injections.scm
Santos Gallegos 4a7a713c52
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
2021-04-28 07:19:07 -05:00

12 lines
193 B
Scheme

(
(function_call
(field_expression
(property_identifier) @_cdef_identifier)
(arguments
(string) @c)
)
(#eq? @_cdef_identifier "cdef")
)
(comment) @comment @combined