From a27b899a36eb339a1ed7ec986663835f3bc316e9 Mon Sep 17 00:00:00 2001 From: Alejandro Exojo Date: Fri, 15 Feb 2013 10:31:54 +0100 Subject: [PATCH] Add foldlevel to fugitive_diff_restore --- plugin/fugitive.vim | 1 + 1 file changed, 1 insertion(+) 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