helix-mirror/runtime/queries/wren/textobjects.scm

17 lines
346 B
Scheme
Raw Permalink Normal View History

2023-07-28 20:13:51 +04:00
(class_definition
(class_body) @class.inside) @class.around
2023-08-04 18:25:36 +04:00
(call_expression
(call_body
(_) @function.inside) @function.around)
2023-07-28 20:13:51 +04:00
(method_definition
body: (_) @function.inside) @function.around
(parameter_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside
(comment)+ @comment.around