Bugfix: Fixed pattern
This commit is contained in:
parent
8a253e4154
commit
2aa86954ea
@ -36,7 +36,7 @@ endf
|
|||||||
|
|
||||||
func! s:parse_name(arg)
|
func! s:parse_name(arg)
|
||||||
let arg = a:arg
|
let arg = a:arg
|
||||||
if arg =~ '^\s*\(git@\|git://\)\S\+' || arg =~ 'https\?://' || arg =~ '\.git\*$'
|
if arg =~ '^\s*\(git@\|git://\)\S\+' || arg =~ 'https\?://' || arg =~ '\.git\s*$'
|
||||||
let uri = arg
|
let uri = arg
|
||||||
let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i')
|
let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i')
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user