-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
Milestone
Description
Without setting g:magit_default_fold_level
, or setting it to 1, when I first load :Magit
, the hunks are unfolded. I figured out this is because my vimrc has set foldnestmax=1
in it, which I like for normal editing, but having a higher foldnestmax (like the vim default of 20) is needed for magit. I think the Magit buffer ought to do setlocal foldnestmax=20
to solve this.