Add C++ folds and C comment/preproc folds

This commit is contained in:
Stephan Seitz 2020-09-07 20:09:44 +02:00 committed by Thomas Vigouroux
parent 3c1399b94e
commit 8bc5d1ff3f
2 changed files with 15 additions and 0 deletions

9
queries/cpp/fold.scm Normal file
View file

@ -0,0 +1,9 @@
[
(for_range_loop)
(class_specifier)
(template_declaration)
(namespace_definition)
(try_statement)
(catch_clause)
(lambda_expression)
] @fold