mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-28 12:23:30 +04:00
fe44391016
Currently `maa` only selects parameters in a function definition. Allow it to also select arguments inside a function call.
20 lines
398 B
Scheme
20 lines
398 B
Scheme
|
|
(class_definition
|
|
(body) @class.inside) @class.around
|
|
|
|
(function_definition
|
|
(body) @function.inside) @function.around
|
|
|
|
(parameters
|
|
[
|
|
(identifier)
|
|
(typed_parameter)
|
|
(default_parameter)
|
|
(typed_default_parameter)
|
|
] @parameter.inside @parameter.around)
|
|
|
|
(arguments (_expression) @parameter.inside @parameter.around)
|
|
|
|
(comment) @comment.inside
|
|
(comment)+ @comment.around
|