diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 68ca819..a4d92d9 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1433,6 +1433,7 @@ function! s:diff_restore() abort \ . ' foldmethod=' . &l:foldmethod \ . ' foldcolumn=' . &l:foldcolumn \ . ' foldlevel=' . &l:foldlevel + \ . (&l:foldenable ? ' foldenable' : ' nofoldenable') if has('cursorbind') let restore .= (&l:cursorbind ? ' ' : ' no') . 'cursorbind' endif