Allow plain :Tig

Fri, 22 Nov 2019 22:58:16 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 22 Nov 2019 22:58:16 -0600
changeset 831
1b8dd5465d3e
parent 830
3f6654b38b20
child 832
8acb094e5e12

Allow plain :Tig

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -128,7 +128,7 @@ command! SyntaxCompleteOn setl omnifunc=
 
 command! Mksession execute "mksession! " . v:this_session
 
-command! -nargs=+ -complete=file Tig      call tig#Tig(<f-args>)
+command! -nargs=* -complete=file Tig      call tig#Tig(<f-args>)
 command!                         TigBlame call tig#TigBlame()
 
 command! -nargs=+ -complete=file -bar Ag call vimrc#Ag(<q-args>)

mercurial