aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/vala/textobjects.scm
blob: b84d9a200a3ddc5f121e208520854325e8b0b91b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(method_declaration
  (block) @function.inside) @function.around

(creation_method_declaration
  (block) @function.inside) @function.around

(method_declaration
  ((parameter) @parameter.inside . ","? @parameter.around) @parameter.around)

[
  (class_declaration)
  (struct_declaration)
  (interface_declaration)
] @class.around

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

(creation_method_declaration
  ((parameter) @parameter.inside . ","? @parameter.around) @parameter.around)

(method_call_expression
  ((argument) @parameter.inside . ","? @parameter.around) @parameter.around)

(comment) @comment.inside

(comment)+ @comment.around