diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index d81705e..41645f6 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1396,6 +1396,7 @@ function! s:diff_restore() let restore = 'setlocal nodiff noscrollbind' \ . ' scrollopt=' . &l:scrollopt \ . (&l:wrap ? ' wrap' : ' nowrap') + \ . ' foldlevel=999' \ . ' foldmethod=' . &l:foldmethod \ . ' foldcolumn=' . &l:foldcolumn \ . ' foldlevel=' . &l:foldlevel