From a4496e0d0bc15de05114b7e761841f5c3ccdd2f3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 19 Oct 2009 21:56:55 -0400 Subject: [PATCH] Support :Git with no arguments --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 2a17410..a3fd5ac 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -405,7 +405,7 @@ call s:add_methods('buffer',['getvar','getline','repo','type','name','commit','p " }}}1 " Git {{{1 -call s:command("-bar -bang -nargs=? -complete=customlist,s:GitComplete Git :call s:Git(0,)") +call s:command("-bar -bang -nargs=? -complete=customlist,s:GitComplete Git :call s:Git(0,)") function! s:ExecuteInTree(cmd) abort let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '