; C folds query — @fold marks foldable multi-line nodes.

(function_definition) @fold

(struct_specifier) @fold
(enum_specifier) @fold
(union_specifier) @fold

(compound_statement) @fold
(if_statement) @fold
(for_statement) @fold
(while_statement) @fold
(switch_statement) @fold

(initializer_list) @fold
