aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.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 /src/nvim/eval.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 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 154023b25f..be87201bbf 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -3582,7 +3582,9 @@ M.funcs = {
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