Browse Source

Merge cb3f3d7f0a into 5548a1a937

pull/278/merge
Malthe Jørgensen 1 year ago
committed by GitHub
parent
commit
de6feb5c73
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      autoload/vundle/config.vim

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

@ -150,7 +150,8 @@ func! s:parse_name(arg)
elseif arg =~? '^\s*\(git@\|git://\)\S\+'
\ || arg =~? '\(file\|https\?\)://'
\ || arg =~? '\.git\s*$'
let uri = arg
\ || arg =~? '\V~'
let uri = substitute(arg, '\V~', expand('~'), '')
let name = split( substitute(uri,'/\?\.git\s*$','','i') ,'\/')[-1]
else
let name = arg


Loading…
Cancel
Save