aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/wren/textobjects.scm
blob: 248981240fba4cb4751599aecfa8a3e58c84b372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
(class_definition
  (class_body) @class.inside) @class.around

(method_definition
  body: (_) @function.inside) @function.around

(parameter_list
  ((_) @parameter.inside . ","? @parameter.around) @parameter.around)

(comment) @comment.inside

(comment)+ @comment.around