diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-05 21:59:04 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-06 05:37:14 -0700 |
| commit | f68a1b16cedd171741ef93789c83cf4c0b2aedc0 (patch) | |
| tree | 7f316985a51242cc6cab9369dafb9057d93885f0 | |
| parent | 373b15ecee49f1604350e77fa7b93a1ef1e20baf (diff) | |
injections(go): avoid running queries on all comments
Fixes #3187
Fixes #3263
| -rw-r--r-- | queries/go/injections.scm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/queries/go/injections.scm b/queries/go/injections.scm index 2391c1a7..4bb7d675 100644 --- a/queries/go/injections.scm +++ b/queries/go/injections.scm @@ -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 |
