aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-21 07:29:49 +0800
committerGitHub <noreply@github.com>2023-08-21 07:29:49 +0800
commit694814cdd54ac245d1f4d2c28dce7e9132fcb616 (patch)
tree70258002f855c8b921998bc1d90b992840dc5a1f /runtime/lua/vim/_meta/vimfn.lua
parentac99e63d73df84cc20766ad86655724f3a0345b9 (diff)
downloadrneovim-694814cdd54ac245d1f4d2c28dce7e9132fcb616.tar.gz
rneovim-694814cdd54ac245d1f4d2c28dce7e9132fcb616.tar.bz2
rneovim-694814cdd54ac245d1f4d2c28dce7e9132fcb616.zip
vim-patch:9.0.1774: no support for custom cmdline completion (#24808)
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: vim/vim#12228 https://github.com/vim/vim/commit/92997dda789ad8061841128cbc99b15ec0374411 Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 030f268f81..300210b296 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -2871,7 +2871,9 @@ function vim.fn.getcmdwintype() end
--- color color schemes
--- command Ex command
--- compiler compilers
---- diff_buffer |:diffget| and |:diffput| completion
+--- 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
--- event autocommand events