folds(c): fold raw compound_statements

This will fold in particular around raw braces
as reported in #2359 while avoiding to have double folds
at functions+braces.
This commit is contained in:
Stephan Seitz 2022-01-26 21:43:18 +01:00
parent c4e3564ea3
commit 7f7ef0af9d

View file

@ -13,6 +13,7 @@
(preproc_else)
(preproc_ifdef)
(initializer_list)
(compound_statement)
] @fold
(compound_statement
(compound_statement) @fold)