Browse Source

Merge a264a99d72 into 6497e37694

pull/517/merge
paulhybryant 9 years ago
committed by GitHub
parent
commit
228fe18ed5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      autoload/vundle/config.vim

+ 2
- 2
autoload/vundle/config.vim View File

@ -141,7 +141,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
@ -153,7 +153,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


Loading…
Cancel
Save