go.nvim/after/queries/go/locals.scm

16 lines
357 B
Scheme
Raw Normal View History

;; extends
(field_declaration
name: (field_identifier) @definition.field)
(method_spec
name: (field_identifier) @method.name
parameters:(parameter_list) @method.parameter_list
)@interface.method.declaration
2022-11-24 00:11:35 +00:00
(type_declaration
(type_spec
name: (type_identifier) @name
type: [(struct_type) (interface_type)] @type)) @start
(var_spec) @scope