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
412 B
Scheme

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