folds.scm 406 B

123456789101112131415161718192021222324
  1. [
  2. (for_statement)
  3. (if_statement)
  4. (while_statement)
  5. (do_statement)
  6. (switch_statement)
  7. (case_statement)
  8. (function_definition)
  9. (struct_specifier)
  10. (enum_specifier)
  11. (comment)
  12. (preproc_if)
  13. (preproc_elif)
  14. (preproc_else)
  15. (preproc_ifdef)
  16. (preproc_function_def)
  17. (initializer_list)
  18. (gnu_asm_expression)
  19. (preproc_include)+
  20. ] @fold
  21. (compound_statement
  22. (compound_statement) @fold)