From 1bce4328e4c43cd76c0b29a15e525d5e3ee5befd Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 30 Jan 2013 13:13:28 -0500 Subject: [PATCH] Fix setting of foldmethod in :Gstatus Closes #300. --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index e0bcb50..ba268bf 100644 --- 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 q :bdelete catch /^fugitive:/ return 'echoerr v:errmsg'