nvim-treesitter/queries/c/folds.scm

23 lines
368 B
Scheme
Raw Normal View History

[
(for_statement)
(if_statement)
(while_statement)
2023-10-04 06:28:03 -04:00
(do_statement)
2021-04-22 15:16:50 +02:00
(switch_statement)
2021-04-26 01:43:34 +02:00
(case_statement)
(function_definition)
(struct_specifier)
2021-07-02 18:46:49 +02:00
(enum_specifier)
(comment)
(preproc_if)
(preproc_elif)
(preproc_else)
(preproc_ifdef)
2023-10-04 06:28:03 -04:00
(preproc_function_def)
(initializer_list)
(gnu_asm_expression)
] @fold
(compound_statement
(compound_statement) @fold)