mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
vim-patch:9.0.0883: a silent mapping may cause dots on the command line (#21061)
Problem: A silent mapping may cause dots on the command line.
Solution: Don't show dots for completion if they are not going to be removed
again. (closes vim/vim#11501)
698a00f55d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -173,7 +173,9 @@ int nextwild(expand_T *xp, int type, int options, bool escape)
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (!(ui_has(kUICmdline) || ui_has(kUIWildmenu))) {
|
||||
// If cmd_silent is set then don't show the dots, because redrawcmd() below
|
||||
// won't remove them.
|
||||
if (!cmd_silent && !(ui_has(kUICmdline) || ui_has(kUIWildmenu))) {
|
||||
msg_puts("..."); // show that we are busy
|
||||
ui_flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user