diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-02-08 12:08:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-08 12:08:07 +0000 |
commit | 3908ef5017a6b4425727013588f72cc7343199b9 (patch) | |
tree | e70cbd04c972b1566a45e8536210e1334e1b0373 /src/evalfunc.c | |
parent | 3787f26c2ed33732a36f26ebe46faeebfe0151af (diff) |
patch 8.2.4325: 'wildmenu' only shows few matchesv8.2.4325
Problem: 'wildmenu' only shows few matches.
Solution: Add the "pum" option: use a popup menu to show the matches.
(Yegappan Lakshmanan et al., closes #9707)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index b031369efd..db0d1ceedb 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -10336,7 +10336,7 @@ f_visualmode(typval_T *argvars, typval_T *rettv) f_wildmenumode(typval_T *argvars UNUSED, typval_T *rettv UNUSED) { #ifdef FEAT_WILDMENU - if (wild_menu_showing) + if (wild_menu_showing || ((State & CMDLINE) && cmdline_pum_active())) rettv->vval.v_number = 1; #endif } |