diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index b844d75..a6c0a1d 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1356,6 +1356,7 @@ function! s:diffthis() let w:fugitive_diff_restore .= &l:wrap ? ' wrap' : ' nowrap' let w:fugitive_diff_restore .= ' foldmethod=' . &l:foldmethod let w:fugitive_diff_restore .= ' foldcolumn=' . &l:foldcolumn + let w:fugitive_diff_restore .= ' foldlevel=' . &l:foldlevel if has('cursorbind') let w:fugitive_diff_restore .= (&l:cursorbind ? ' ' : ' no') . 'cursorbind' endif