From: Mao-Yining <101858210+mao-yining@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:21:40 +0000 (+0000) Subject: runtime(doc): add note for -complete=shellcmdline X-Git-Tag: v9.1.2131~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b42b292614faaee42984d5bde1dc6f71e55b73;p=thirdparty%2Fvim.git runtime(doc): add note for -complete=shellcmdline closes: #19330 Signed-off-by: Mao-Yining Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 7ff9cfc076..d9cd7409db 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