aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-03 19:20:46 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-04-03 19:20:46 -0500
commitc54ccfbb52ef49ba591f434a11e522b80d4d9bf4 (patch)
tree562968b9e1d87fbf07c2e38b7c16b833bbde5e3f
parentc8d830e896e5db94ede78143866198c92645b2ba (diff)
parent6e8757255e94d8e2083d4160071cda30e8a5975e (diff)
downloadrneovim-c54ccfbb52ef49ba591f434a11e522b80d4d9bf4.tar.gz
rneovim-c54ccfbb52ef49ba591f434a11e522b80d4d9bf4.tar.bz2
rneovim-c54ccfbb52ef49ba591f434a11e522b80d4d9bf4.zip
Merge pull request #4508 from Xerkus/hotfix/remote-plugins-wrong-condition
Fix condition for lazy loading remote plugins defintions
-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)