aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorkuuote <znmxodq1@gmail.com>2020-05-31 20:21:58 +0900
committerkuuote <znmxodq1@gmail.com>2020-05-31 20:21:58 +0900
commit7124c0e5acde38957af7621afd1d92fb2b6d1d58 (patch)
tree4994f622377d9e601359b0fd7d88f15425aa4bfc /runtime
parent4b87248285e7d954e496f84a7ece58b4f1a830ca (diff)
downloadrneovim-7124c0e5acde38957af7621afd1d92fb2b6d1d58.tar.gz
rneovim-7124c0e5acde38957af7621afd1d92fb2b6d1d58.tar.bz2
rneovim-7124c0e5acde38957af7621afd1d92fb2b6d1d58.zip
runtime: fix remote plugin command fails at some case
fixes #12410
Diffstat (limited to 'runtime')
-rw-r--r--runtime/autoload/remote/define.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/remote/define.vim b/runtime/autoload/remote/define.vim
index 2688a62a82..2aec96e365 100644
--- a/runtime/autoload/remote/define.vim
+++ b/runtime/autoload/remote/define.vim
@@ -24,7 +24,7 @@ function! remote#define#CommandOnHost(host, method, sync, name, opts)
endif
if has_key(a:opts, 'nargs')
- call add(forward_args, ' <args>')
+ call add(forward_args, ' " . <q-args> . "')
endif
exe s:GetCommandPrefix(a:name, a:opts)