mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
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:
parent
c4e3564ea3
commit
7f7ef0af9d
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
(preproc_else)
|
(preproc_else)
|
||||||
(preproc_ifdef)
|
(preproc_ifdef)
|
||||||
(initializer_list)
|
(initializer_list)
|
||||||
(compound_statement)
|
|
||||||
] @fold
|
] @fold
|
||||||
|
|
||||||
|
(compound_statement
|
||||||
|
(compound_statement) @fold)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue