summaryrefslogtreecommitdiffstats
path: root/src/proto/cmdexpand.pro
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2022-05-07 12:48:29 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-07 12:48:29 +0100
commit79d599b8772022af1d657f368c2fc97aa342c0da (patch)
treeee415de85697c73717db8ca0679481349d097965 /src/proto/cmdexpand.pro
parentc27747e6ddcbda7d1d3b39867898f746dc4db471 (diff)
patch 8.2.4903: cannot get the current cmdline completion type and positionv8.2.4903
Problem: Cannot get the current cmdline completion type and position. Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita, closes #10344)
Diffstat (limited to 'src/proto/cmdexpand.pro')
-rw-r--r--src/proto/cmdexpand.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/cmdexpand.pro b/src/proto/cmdexpand.pro
index 5ffab8c545..924b0b4529 100644
--- a/src/proto/cmdexpand.pro
+++ b/src/proto/cmdexpand.pro
@@ -13,6 +13,7 @@ int showmatches(expand_T *xp, int wildmenu);
char_u *sm_gettail(char_u *s);
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);
+void set_expand_context(expand_T *xp);
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);