fe44391016
Currently `maa` only selects parameters in a function definition. Allow it to also select arguments inside a function call.
19 lines
398 B
Scheme
19 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
|