]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1774: no support for custom cmdline completion v9.0.1774
authorShougo Matsushita <Shougo.Matsu@gmail.com>
Sun, 20 Aug 2023 18:55:55 +0000 (20:55 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 20 Aug 2023 18:55:55 +0000 (20:55 +0200)
commit92997dda789ad8061841128cbc99b15ec0374411
tree47a00691b428554c6d6bba0126e7b3874d28b135
parent19a3bc3addf9b4aa8150a01b11b4249c67d15d3b
patch 9.0.1774: no support for custom cmdline completion

Problem:  no support for custom cmdline completion
Solution: Add new vimscript functions

Add the following two functions:
- getcmdcompltype() returns custom and customlist functions

- getcompletion() supports both custom and customlist

closes: #12228

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
runtime/doc/builtin.txt
src/cmdexpand.c
src/ex_getln.c
src/testdir/test_cmdline.vim
src/usercmd.c
src/version.c