commit 1bce4328e4c43cd76c0b29a15e525d5e3ee5befd (tree)
parent 1601ffc1e0ac5171e32c2f33e96d3ae88ea2788f
Author: Tim Pope <code@tpope.net>
Date: Wed, 30 Jan 2013 13:13:28 -0500
Fix setting of foldmethod in :Gstatus
Closes #300.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -646,8 +646,8 @@ call s:command("-bar Gstatus :execute s:Status()")
function! s:Status() abort
try
Gpedit :
- set foldmethod=syntax foldlevel=1
wincmd P
+ set foldmethod=syntax foldlevel=1
nnoremap <buffer> <silent> q :<C-U>bdelete<CR>
catch /^fugitive:/
return 'echoerr v:errmsg'