diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 2f28648..e8443c1 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -44,6 +44,9 @@ func! s:parse_name(arg) if arg =~? '^\s*\(gh\|github\):\S\+' \ || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$' let uri = 'https://github.com/'.split(arg, ':')[-1] + if uri !~? '\.git$' + let uri .= '.git' + endif let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i') elseif arg =~? '^\s*\(git@\|git://\)\S\+' \ || arg =~? '\(file\|https\?\)://'