aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksei Khudiakov <aleksey@xerkus.pro>2016-03-31 08:48:20 +1000
committerAleksei Khudiakov <aleksey@xerkus.pro>2016-03-31 08:58:22 +1000
commit6e8757255e94d8e2083d4160071cda30e8a5975e (patch)
treef390e75ca687036692fd6eb6f38fb52a0e598329
parenta9e0d734d7b4aa6e6cd77e1834bbc7c6b59c716c (diff)
downloadrneovim-6e8757255e94d8e2083d4160071cda30e8a5975e.tar.gz
rneovim-6e8757255e94d8e2083d4160071cda30e8a5975e.tar.bz2
rneovim-6e8757255e94d8e2083d4160071cda30e8a5975e.zip
rplugin: Fix wrong condition for lazy loading remote plugins
-rw-r--r--runtime/autoload/remote/host.vim2
1 files changed, 1 insertions, 1 deletions
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)