summaryrefslogtreecommitdiff
path: root/runtime/queries/llvm/textobjects.scm
blob: dd15dc1403a36cb8caf576a42fec9ff2ec25a069 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(define
  body: (_) @function.inside) @function.around

(struct_type
  (struct_body) @class.inside) @class.around

(packed_struct_type
  (struct_body) @class.inside) @class.around

(array_type
  (array_vector_body) @class.inside) @class.around

(vector_type
  (array_vector_body) @class.inside) @class.around

(argument) @parameter.inside

(comment) @comment.inside

(comment)+ @comment.around