From 7e7cde6444eefc171f552166d9e2c94b1b80831e Mon Sep 17 00:00:00 2001 From: termac Date: Thu, 31 Mar 2011 21:18:13 +0200 Subject: [PATCH] fix regex for local repositories --- autoload/vundle/config.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index a913451..770ac85 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -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