Reopen diff folds when diff ends

References #36.
This commit is contained in:
Tim Pope
2013-12-30 10:38:53 -05:00
parent 07c078c1be
commit 1b0ddad697

View File

@@ -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