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