Mercurial > vim
diff src/cmdexpand.c @ 28757:add09d468c0d v8.2.4903
patch 8.2.4903: cannot get the current cmdline completion type and position
Commit: https://github.com/vim/vim/commit/79d599b8772022af1d657f368c2fc97aa342c0da
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Sat May 7 12:48:29 2022 +0100
patch 8.2.4903: cannot get the current cmdline completion type and position
Problem: Cannot get the current cmdline completion type and position.
Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
closes #10344)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 May 2022 14:00:02 +0200 |
parents | 96d53065f309 |
children | fd5942a62312 |
line wrap: on
line diff
--- 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();