From c729f42ede84f0914136cfe8d2a2a66900aeb8cd Mon Sep 17 00:00:00 2001 From: James Baumgarten Date: Sun, 31 Jan 2016 16:01:11 -0800 Subject: [PATCH] plugin/magit.vim: in show_magit(), set foldnestmax (fix #62) --- plugin/magit.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/magit.vim b/plugin/magit.vim index fb0d98e..c760b12 100644 --- a/plugin/magit.vim +++ b/plugin/magit.vim @@ -631,6 +631,7 @@ function! magit#show_magit(display, ...) setlocal bufhidden=hide setlocal noswapfile setlocal foldmethod=syntax + setlocal foldnestmax=20 setlocal nobuflisted let &l:foldlevel = b:magit_default_fold_level setlocal filetype=magit