From f68a1b16cedd171741ef93789c83cf4c0b2aedc0 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 5 Aug 2022 21:59:04 +0200 Subject: injections(go): avoid running queries on all comments Fixes #3187 Fixes #3263 --- queries/go/injections.scm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/queries/go/injections.scm b/queries/go/injections.scm index 2391c1a7a..4bb7d675d 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 -- cgit v1.2.3-70-g09d2