runtime(doc): add note for -complete=shellcmdline

Commit: 
https://github.com/vim/vim/commit/03b42b292614faaee42984d5bde1dc6f71e55b73
Author: Mao-Yining <[email protected]>
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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vnflT-00CrSz-Ti%40256bit.org.

Raspunde prin e-mail lui