diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2022-05-07 12:48:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-07 12:48:29 +0100 |
commit | 79d599b8772022af1d657f368c2fc97aa342c0da (patch) | |
tree | ee415de85697c73717db8ca0679481349d097965 /src/cmdexpand.c | |
parent | c27747e6ddcbda7d1d3b39867898f746dc4db471 (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/cmdexpand.c')
-rw-r--r-- | src/cmdexpand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index 87953375d5..ea8dbfa14d 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -15,7 +15,6 @@ static int cmd_showtail; // Only show path tail in lists ? -static void set_expand_context(expand_T *xp); static int ExpandGeneric(char_u *pat, expand_T *xp, regmatch_T *regmatch, char_u ***matches, int *numMatches, char_u *((*func)(expand_T *, int)), int escaped); @@ -1230,7 +1229,7 @@ addstar( * EXPAND_ENV_VARS Complete environment variable names * EXPAND_USER Complete user names */ - static void + void set_expand_context(expand_T *xp) { cmdline_info_T *ccline = get_cmdline_info(); |