From 2aa86954ea61b178902bc10f7ab97c2b45c0ce49 Mon Sep 17 00:00:00 2001 From: gmarik Date: Thu, 3 Feb 2011 23:21:32 -0600 Subject: [PATCH] Bugfix: Fixed pattern --- autoload/vundle/config.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index dc0fc2a..9569793 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -36,7 +36,7 @@ endf func! s:parse_name(arg) let arg = a:arg - if arg =~ '^\s*\(git@\|git://\)\S\+' || arg =~ 'https\?://' || arg =~ '\.git\*$' + if arg =~ '^\s*\(git@\|git://\)\S\+' || arg =~ 'https\?://' || arg =~ '\.git\s*$' let uri = arg let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i') else