mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-20 02:56:10 -07:00
Explicitly return 0
This commit is contained in:
parent
f8fcc81783
commit
6f487f1579
2
plug.vim
2
plug.vim
@ -70,7 +70,7 @@ function! plug#begin(...)
|
|||||||
let home = s:path(split(&rtp, ',')[0]) . '/plugged'
|
let home = s:path(split(&rtp, ',')[0]) . '/plugged'
|
||||||
else
|
else
|
||||||
echoerr "Unable to determine plug home. Try calling plug#begin() with a path argument."
|
echoerr "Unable to determine plug home. Try calling plug#begin() with a path argument."
|
||||||
return
|
return 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !isdirectory(home)
|
if !isdirectory(home)
|
||||||
|
Loading…
Reference in New Issue
Block a user