From 6e8757255e94d8e2083d4160071cda30e8a5975e Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Thu, 31 Mar 2016 08:48:20 +1000 Subject: [PATCH] rplugin: Fix wrong condition for lazy loading remote plugins --- runtime/autoload/remote/host.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 0b4eef158d..1aead649a0 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -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)