]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): add note for -complete=shellcmdline
authorMao-Yining <101858210+mao-yining@users.noreply.github.com>
Wed, 4 Feb 2026 16:21:40 +0000 (16:21 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 4 Feb 2026 16:21:40 +0000 (16:21 +0000)
closes: #19330

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/map.txt

index 7ff9cfc0762c459a735b001cae4c15eb213ada24..d9cd7409db58dc72e51e2fc16898d5c03a8c3cb9 100644 (file)
@@ -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