mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
rplugin: Fix wrong condition for lazy loading remote plugins
This commit is contained in:
parent
a9e0d734d7
commit
6e8757255e
@ -36,7 +36,7 @@ endfunction
|
|||||||
|
|
||||||
" Get a host channel, bootstrapping it if necessary
|
" Get a host channel, bootstrapping it if necessary
|
||||||
function! remote#host#Require(name) abort
|
function! remote#host#Require(name) abort
|
||||||
if empty(s:hosts)
|
if empty(s:plugins_for_host)
|
||||||
call remote#host#LoadRemotePlugins()
|
call remote#host#LoadRemotePlugins()
|
||||||
endif
|
endif
|
||||||
if !has_key(s:hosts, a:name)
|
if !has_key(s:hosts, a:name)
|
||||||
|
Loading…
Reference in New Issue
Block a user