NixOS/home/config/nvim/queries/go/search-context.scm

12 lines
318 B
Scheme

[
(method_declaration
parameters: (parameter_list
(parameter_declaration type: (_) @type)))
(function_declaration
parameters: (parameter_list
(parameter_declaration type: (_) @type)))
(func_literal
parameters: (parameter_list
(parameter_declaration type: (_) @type)))
]