aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/wren/textobjects.scm
blob: 486b5b48cc1a19261b26dac6a395300a89368ad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(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