Browse Source

Merge f1bfa5f6cf into e3623da0f9

pull/72/merge
GitHub Merge Button 15 years ago
parent
commit
e92de648c7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      autoload/vundle/config.vim

+ 3
- 0
autoload/vundle/config.vim View File

@ -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\?\)://'


Loading…
Cancel
Save