Restore 'cursorbind' after diff

Closes #122.
This commit is contained in:
Tim Pope
2011-12-03 01:10:08 -05:00
parent d95e6c61b5
commit c72a689f7f

View File

@@ -1228,6 +1228,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 .= (&l:cursorbind ? ' ' : ' no') . 'cursorbind'
diffthis
endif
endfunction