From 03b42b292614faaee42984d5bde1dc6f71e55b73 Mon Sep 17 00:00:00 2001 From: Mao-Yining <101858210+mao-yining@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:21:40 +0000 Subject: [PATCH] runtime(doc): add note for -complete=shellcmdline closes: #19330 Signed-off-by: Mao-Yining Signed-off-by: Christian Brabandt --- runtime/doc/map.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.47.3