summaryrefslogtreecommitdiffstats
path: root/src/proto/cmdexpand.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-04 15:37:31 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-04 15:37:31 +0200
commiteadee486c70946ad0e1746d77898d6f4f4acc817 (patch)
treed36a72738e256191c2201dd015940cbcc2f13321 /src/proto/cmdexpand.pro
parentfe6dce873954a216eedb686bd5006710ffff4b89 (diff)
patch 8.2.1587: loop for handling keys for the command line is too longv8.2.1587
Problem: Loop for handling keys for the command line is too long. Solution: Move wild menu handling to separate functions. (Yegappan Lakshmanan, closes #6856)
Diffstat (limited to 'src/proto/cmdexpand.pro')
-rw-r--r--src/proto/cmdexpand.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proto/cmdexpand.pro b/src/proto/cmdexpand.pro
index 523565942d..1c4f954394 100644
--- a/src/proto/cmdexpand.pro
+++ b/src/proto/cmdexpand.pro
@@ -9,5 +9,8 @@ char_u *addstar(char_u *fname, int len, int context);
void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);
+int wildmenu_translate_key(cmdline_info_T *cclp, int key, expand_T *xp, int did_wild_list);
+int wildmenu_process_key(cmdline_info_T *cclp, int key, expand_T *xp);
+void wildmenu_cleanup(cmdline_info_T *cclp);
void f_getcompletion(typval_T *argvars, typval_T *rettv);
/* vim: set ft=c : */