motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 1b0ddad697aa2e628c56e80f03bfbc1563dcc1c7 (tree)
parent 07c078c1be77983cdda49be65abb548e57e9ccd3
Author: Tim Pope <code@tpope.net>
Date:   Mon, 30 Dec 2013 10:38:53 -0500

Reopen diff folds when diff ends

References #36.

Diffstat:
Mplugin/fugitive.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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