diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 5ecb30b..0c9f740 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -138,7 +138,7 @@ func! s:parse_name(arg) if arg =~? '^\s*\(gh\|github\):\S\+' \ || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$' - let uri = git_proto.'://github.com/'.split(arg, ':')[-1] + let uri = git_proto.'@github.com:'.split(arg, ':')[-1] if uri !~? '\.git$' let uri .= '.git' endif @@ -150,7 +150,7 @@ func! s:parse_name(arg) let name = split( substitute(uri,'/\?\.git\s*$','','i') ,'\/')[-1] else let name = arg - let uri = git_proto.'://github.com/vim-scripts/'.name.'.git' + let uri = git_proto.'@github.com:vim-scripts/'.name.'.git' endif return {'name': name, 'uri': uri, 'name_spec': arg } endf