forked from aniani/vim
patch 8.2.4325: 'wildmenu' only shows few matches
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
3787f26c2e
commit
3908ef5017
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user