diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-26 21:43:18 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-28 19:54:26 +0100 |
| commit | 7f7ef0af9d47906d1a20c59b7eae3adbf93acd04 (patch) | |
| tree | 768fdc16e2e8e33c4d28243ededa4fe48ad3d7d3 | |
| parent | c4e3564ea31183ddcd00d6192efb2879977b420e (diff) | |
folds(c): fold raw `compound_statement`s
This will fold in particular around raw braces
as reported in #2359 while avoiding to have double folds
at functions+braces.
| -rw-r--r-- | queries/c/folds.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/c/folds.scm b/queries/c/folds.scm index 9ef083e0..80c3039b 100644 --- a/queries/c/folds.scm +++ b/queries/c/folds.scm @@ -13,6 +13,7 @@ (preproc_else) (preproc_ifdef) (initializer_list) - (compound_statement) ] @fold + (compound_statement + (compound_statement) @fold) |
