mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-08 01:44:44 +08:00
Explicitly return 0
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user