diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-04-19 06:03:39 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-04-19 06:52:04 +0900 |
commit | 2ebc58d25a42ff694c0295ef52daa7a3c931ea71 (patch) | |
tree | db069897463bddf8fa307a20f9b1d24ba35cab92 | |
parent | ba97f735601792af9264550493d184bab62d0dca (diff) | |
download | rneovim-2ebc58d25a42ff694c0295ef52daa7a3c931ea71.tar.gz rneovim-2ebc58d25a42ff694c0295ef52daa7a3c931ea71.tar.bz2 rneovim-2ebc58d25a42ff694c0295ef52daa7a3c931ea71.zip |
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.'"' |