Merge pull request #4508 from Xerkus/hotfix/remote-plugins-wrong-condition
Fix condition for lazy loading remote plugins defintions
This commit is contained in:
commit
c54ccfbb52
|
@ -36,7 +36,7 @@ endfunction
|
|||
|
||||
" Get a host channel, bootstrapping it if necessary
|
||||
function! remote#host#Require(name) abort
|
||||
if empty(s:hosts)
|
||||
if empty(s:plugins_for_host)
|
||||
call remote#host#LoadRemotePlugins()
|
||||
endif
|
||||
if !has_key(s:hosts, a:name)
|
||||
|
|
Loading…
Reference in New Issue