diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-21 14:33:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-21 14:33:57 +0100 |
commit | b82a2ab8ad7af52a327cdba013ec433f7caf550d (patch) | |
tree | c850b0d51e81d5a21bee633f576ac02d61429d98 /src/cmdexpand.c | |
parent | 474ad390ccb8bbeb53848122829e04c52f0349ce (diff) |
patch 9.0.0236: popup menu not removed when 'wildmenu' reset while visiblev9.0.0236
Problem: Popup menu not removed when 'wildmenu' reset while it is visible.
Solution: Do not check p_wmnu, only pum_visible(). (closes #10953)
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r-- | src/cmdexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index fb329a57d7..cdf83955c1 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -367,7 +367,7 @@ void cmdline_pum_display(void) */ int cmdline_pum_active(void) { - return p_wmnu && pum_visible() && compl_match_array != NULL; + return pum_visible() && compl_match_array != NULL; } /* |