runtime(doc): add note for -complete=shellcmdline
Commit:
https://github.com/vim/vim/commit/03b42b292614faaee42984d5bde1dc6f71e55b73
Author: Mao-Yining <
101858210+...@users.noreply.github.com>
Date: Wed Feb 4 16:21:40 2026 +0000
runtime(doc): add note for -complete=shellcmdline
closes:
https://github.com/vim/vim/issues/19330
Signed-off-by: Mao-Yining <
mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 7ff9cfc07..d9cd7409d 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 9.1. Last change: 2026 Feb 02
+*map.txt* For Vim version 9.1. Last change: 2026 Feb 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1659,7 +1659,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