nvim/queries/go/get-function-params.scm
2024-06-17 15:22:39 +07:00

11 lines
289 B
Scheme

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