diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2023-08-20 20:55:55 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-20 20:55:55 +0200 |
commit | 92997dda789ad8061841128cbc99b15ec0374411 (patch) | |
tree | 47a00691b428554c6d6bba0126e7b3874d28b135 /runtime/doc/builtin.txt | |
parent | 19a3bc3addf9b4aa8150a01b11b4249c67d15d3b (diff) |
patch 9.0.1774: no support for custom cmdline completionv9.0.1774
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>
Diffstat (limited to 'runtime/doc/builtin.txt')
-rw-r--r-- | runtime/doc/builtin.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 661876b24a..e9bdad2edf 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -3551,6 +3551,8 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()* cmdline |cmdline-completion| result compiler compilers cscope |:cscope| suboptions + custom,{func} custom completion, defined via {func} + customlist,{func} custom completion, defined via {func} diff_buffer |:diffget| and |:diffput| completion dir directory names environment environment variable names |