mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 20:20:42 +00:00
Merge pull request #4508 from Xerkus/hotfix/remote-plugins-wrong-condition
Fix condition for lazy loading remote plugins defintions
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user