aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/go/injections.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/queries/go/injections.scm b/queries/go/injections.scm
index 4bb7d675d..2391c1a7a 100644
--- a/queries/go/injections.scm
+++ b/queries/go/injections.scm
@@ -1 +1,6 @@
+((comment) @c (#offset! @c 1 0 0 -2)
+ (import_declaration
+ (import_spec path: (interpreted_string_literal) @_import_path))
+ (#eq? @_import_path "\"C\""))
+
(comment) @comment