Browse Source

Merge efad02d156 into b255382d62

pull/232/merge
Phio Tian 6 years ago
committed by GitHub
parent
commit
3555af86e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      autoload/vundle/config.vim

+ 5
- 1
autoload/vundle/config.vim View File

@ -153,7 +153,11 @@ 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'
if git_proto ==? 'ssh'
let uri = 'git@github.com:vim-scripts/'.name.'.git'
else
let uri = git_proto.'://github.com/vim-scripts/'.name.'.git'
endif
endif
return {'name': name, 'uri': uri, 'name_spec': arg }
endf


Loading…
Cancel
Save