mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
injections(go): avoid running queries on all comments
Fixes #3187 Fixes #3263
This commit is contained in:
parent
373b15ecee
commit
f68a1b16ce
1 changed files with 0 additions and 5 deletions
|
|
@ -1,6 +1 @@
|
|||
((comment) @c (#offset! @c 1 0 0 -2)
|
||||
(import_declaration
|
||||
(import_spec path: (interpreted_string_literal) @_import_path))
|
||||
(#eq? @_import_path "\"C\""))
|
||||
|
||||
(comment) @comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue