0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Shougo Matsushita
2022-05-07 12:48:29 +01:00
committed by Bram Moolenaar
parent c27747e6dd
commit 79d599b877
11 changed files with 125 additions and 3 deletions

View File

@@ -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();