aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/folds.scm
blob: 5a35334a24d35df508b75b5ee7a5fad2b9c247b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[
 (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)
 (gnu_asm_expression)
] @fold

(compound_statement
  (compound_statement) @fold)