0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

Merge c68e1c9c1d3fd1c9090ffdecd964addd835405cd into a494ce1c64a2637719a5c1339abf19ec7c48089c

This commit is contained in:
zeertzjq 2025-07-04 07:31:19 +08:00 committed by GitHub
commit 99516e4797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 03
*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 04
VIM REFERENCE MANUAL by Bram Moolenaar
@ -4203,8 +4203,9 @@ getcmdcomplpat() *getcmdcomplpat()*
getcmdcompltype([{pat}]) *getcmdcompltype()*
Return the type of command-line completion using {pat}.
If {pat} is omited, only works when the command line is being
edited, thus requires use of |c_CTRL-\_e| or |c_CTRL-R_=|.
If {pat} is omited, the current command-line is used, which
only works when the command line is being edited and requires
use of |c_CTRL-\_e| or |c_CTRL-R_=|.
See |:command-completion| for the return string.
Also see |getcmdtype()|, |setcmdpos()|, |getcmdline()|,

View File

@ -41607,7 +41607,7 @@ Completion: ~
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
add the "cd_in_path" completion type for e.g. |:command-complete| and
|getcompletion()|
- |getcompletion()| now accepts a pat and returns the completion type for the
- |getcmdcompltype()| now accepts a pat and returns the completion type for the
{pat} argument
- allow to complete shell commands and files using the new shellcmdline
completion type using |:command-complete| and |getcmdcomplpat()|