Browse Source

fix regex for local repositories

pull/10/head
termac 15 years ago
parent
commit
7e7cde6444
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      autoload/vundle/config.vim

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

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


Loading…
Cancel
Save