Browse Source

Re-add support for paths starting with '~'

pull/278/head
Malthe Jørgensen 13 years ago
parent
commit
cb3f3d7f0a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      autoload/vundle/config.vim

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

@ -55,7 +55,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