nvim/queries/go/get-function-params.scm

11 lines
289 B
Scheme
Raw Normal View History

2024-06-17 15:22:39 +07:00
[
(method_declaration
parameters: (parameter_list
(parameter_declaration) @params))
(function_declaration
parameters: (parameter_list
(parameter_declaration) @params))
(func_literal parameters:
(parameter_list (parameter_declaration) @params))
]