-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in default folding behavior #62
Labels
Milestone
Comments
Hi, it seems to be the proper way to do that. Would you mind to add it in vimagit and propose a pull request? It should be in |
I'll do that, thanks for pointing me to the right place |
Nice! May I ask you to push again, adding "(fix #62)" at the end of the title commit message |
jebaum
added a commit
to jebaum/vimagit
that referenced
this issue
Feb 2, 2016
done |
jreybert
added a commit
that referenced
this issue
Feb 2, 2016
plugin/magit.vim: in show_magit(), set foldnestmax (fix #62)
jreybert
added a commit
that referenced
this issue
Feb 2, 2016
* 'master' of github.com:jreybert/vimagit: plugin/magit.vim: in show_magit(), set foldnestmax (fix #62)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 hasset 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 dosetlocal foldnestmax=20
to solve this.The text was updated successfully, but these errors were encountered: