You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go.nvim/after/queries/go/locals.scm

16 lines
357 B
Scheme

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