diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-18 23:23:13 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-18 23:23:13 -0400 |
commit | 376ba4e734058497ddccb11b83452f3115409d24 (patch) | |
tree | db069897463bddf8fa307a20f9b1d24ba35cab92 | |
parent | ba97f735601792af9264550493d184bab62d0dca (diff) | |
parent | 2ebc58d25a42ff694c0295ef52daa7a3c931ea71 (diff) | |
download | rneovim-376ba4e734058497ddccb11b83452f3115409d24.tar.gz rneovim-376ba4e734058497ddccb11b83452f3115409d24.tar.bz2 rneovim-376ba4e734058497ddccb11b83452f3115409d24.zip |
Merge pull request #4599 from Shougo/fixerror
Fix loading remote plugin error
-rw-r--r-- | runtime/autoload/remote/define.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/autoload/remote/define.vim b/runtime/autoload/remote/define.vim index dd2482998d..ca1def0941 100644 --- a/runtime/autoload/remote/define.vim +++ b/runtime/autoload/remote/define.vim @@ -30,7 +30,7 @@ function! remote#define#CommandOnHost(host, method, sync, name, opts) exe s:GetCommandPrefix(a:name, a:opts) \ .' call remote#define#CommandBootstrap("'.a:host.'"' \ . ', "'.a:method.'"' - \ . ', "'.a:sync.'"' + \ . ', '.string(a:sync) \ . ', "'.a:name.'"' \ . ', '.string(a:opts).'' \ . ', "'.join(forward_args, '').'"' @@ -94,7 +94,7 @@ function! remote#define#AutocmdOnHost(host, method, sync, name, opts) let bootstrap_def = s:GetAutocmdPrefix(a:name, a:opts) \ .' call remote#define#AutocmdBootstrap("'.a:host.'"' \ . ', "'.a:method.'"' - \ . ', "'.a:sync.'"' + \ . ', '.string(a:sync) \ . ', "'.a:name.'"' \ . ', '.string(a:opts).'' \ . ', "'.escape(forward, '"').'"' @@ -133,7 +133,7 @@ function! remote#define#FunctionOnHost(host, method, sync, name, opts) exe 'autocmd! '.group.' FuncUndefined '.a:name \ .' call remote#define#FunctionBootstrap("'.a:host.'"' \ . ', "'.a:method.'"' - \ . ', "'.a:sync.'"' + \ . ', '.string(a:sync) \ . ', "'.a:name.'"' \ . ', '.string(a:opts) \ . ', "'.group.'"' |