Merge pull request #4508 from Xerkus/hotfix/remote-plugins-wrong-condition

Fix condition for lazy loading remote plugins defintions
This commit is contained in:
Justin M. Keyes 2016-04-03 19:20:46 -05:00
commit c54ccfbb52
1 changed files with 1 additions and 1 deletions

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)