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