aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/go/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/go/textobjects.scm')
-rw-r--r--runtime/queries/go/textobjects.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/go/textobjects.scm b/runtime/queries/go/textobjects.scm
index d77e14b7..3cdf6203 100644
--- a/runtime/queries/go/textobjects.scm
+++ b/runtime/queries/go/textobjects.scm
@@ -12,7 +12,7 @@
(type_spec (type_identifier) (struct_type (field_declaration_list (_)?) @class.inside))) @class.around
(type_declaration
- (type_spec (type_identifier) (interface_type (method_spec_list (_)?) @class.inside))) @class.around
+ (type_spec (type_identifier) (interface_type (method_spec)+ @class.inside))) @class.around
(parameter_list
(_) @parameter.inside)