aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/folds.scm
blob: 80c3039b6bcfe57e859014dc16fb57a0a2034c67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[
 (for_statement)
 (if_statement)
 (while_statement)
 (switch_statement)
 (case_statement)
 (function_definition)
 (struct_specifier)
 (enum_specifier)
 (comment)
 (preproc_if)
 (preproc_elif)
 (preproc_else)
 (preproc_ifdef)
 (initializer_list)
] @fold

 (compound_statement
  (compound_statement) @fold)