textobjects.scm
1(declaration
2 declarator: (function_declarator)) @function.around
3
4(function_definition
5 body: (_
6 "{"
7 (_)* @function.inside
8 "}" )) @function.around
9
10(preproc_function_def
11 value: (_) @function.inside) @function.around
12
13(comment) @comment.around
14
15(struct_specifier
16 body: (_
17 "{"
18 (_)* @class.inside
19 "}")) @class.around
20
21(enum_specifier
22 body: (_
23 "{"
24 [(_) ","?]* @class.inside
25 "}")) @class.around