Skip to content

Commit 6e5722c

Browse files
committed
method_spec is not available in go grammar
1 parent 173c8b9 commit 6e5722c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

treesit-queries/go/textobjects.scm

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
(type_declaration
1212
(type_spec (type_identifier) (struct_type (field_declaration_list (_)?) @class.inner))) @class.outer
1313

14-
(type_declaration
15-
(type_spec (type_identifier) (interface_type (method_spec)+ @class.inner))) @class.outer
14+
;; (type_declaration
15+
;; (type_spec (type_identifier) (interface_type (method_spec)+ @class.inner))) @class.outer
1616

1717
(type_parameter_list
1818
((_) @parameter.inner . ","? @parameter.outer) @parameter.outer)

0 commit comments

Comments
 (0)