mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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
@@ -3048,6 +3048,10 @@ redraw_after_callback(int call_update_screen, int do_message)
|
||||
}
|
||||
else if (State & CMDLINE)
|
||||
{
|
||||
#ifdef FEAT_WILDMENU
|
||||
if (pum_visible())
|
||||
cmdline_pum_display();
|
||||
#endif
|
||||
// Don't redraw when in prompt_for_number().
|
||||
if (cmdline_row > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user