helix-mods/runtime/queries/wren/textobjects.scm
2023-08-04 16:25:36 +02:00

17 lines
346 B
Scheme

(class_definition
(class_body) @class.inside) @class.around
(call_expression
(call_body
(_) @function.inside) @function.around)
(method_definition
body: (_) @function.inside) @function.around
(parameter_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside
(comment)+ @comment.around