fix regex for local repositories
This commit is contained in:
parent
f1bac10257
commit
7e7cde6444
@ -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…
Reference in New Issue
Block a user