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