aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/textobjects.scm
blob: 45f554e2856bd95fb9140d4b175cf39cd190e726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(function_definition
  body: (_) @function.inside) @function.around

(struct_specifier
  body: (_) @class.inside) @class.around

(enum_specifier
  body: (_) @class.inside) @class.around

(union_specifier
  body: (_) @class.inside) @class.around

(parameter_declaration) @parameter.inside

(comment) @comment.inside

(comment)+ @comment.around