summaryrefslogtreecommitdiff
path: root/src/drawscreen.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-02-08 12:08:07 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-08 12:08:07 +0000
commit3908ef5017a6b4425727013588f72cc7343199b9 (patch)
treee70cbd04c972b1566a45e8536210e1334e1b0373 /src/drawscreen.c
parent3787f26c2ed33732a36f26ebe46faeebfe0151af (diff)
downloadvim-git-3908ef5017a6b4425727013588f72cc7343199b9.tar.gz
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/drawscreen.c')
-rw-r--r--src/drawscreen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c
index 5b9619e9f..6cae313fa 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -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)
{