rplugin: Fix wrong condition for lazy loading remote plugins

This commit is contained in:
Aleksei Khudiakov 2016-03-31 08:48:20 +10:00
parent a9e0d734d7
commit 6e8757255e

View File

@ -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)