commit da60b80a74dc585d7970c5e4a355fd420a8c131c
parent 72a557c61b42046930f38fe490c17d3244120362
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 5 Feb 2026 09:26:27 +0800
vim-patch:03b42b2: runtime(doc): add note for -complete=shellcmdline (#37713)
closes: vim/vim#19330
https://github.com/vim/vim/commit/03b42b292614faaee42984d5bde1dc6f71e55b73
Co-authored-by: Mao-Yining <101858210+mao-yining@users.noreply.github.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
@@ -1414,7 +1414,9 @@ completion can be enabled:
-complete=scriptnames sourced script names
-complete=shellcmd Shell command
-complete=shellcmdline First is a shell command and subsequent ones
- are filenames. The same behavior as |:!cmd|
+ are filenames. The same behavior as |:!cmd|.
+ To get correct completion, |:command-nargs|
+ should be '*' or '+'
-complete=sign |:sign| suboptions
-complete=syntax syntax file names 'syntax'
-complete=syntime |:syntime| suboptions