mirror of
https://github.com/neovim/neovim.git
synced 2026-11-02 09:49:02 -06:00
Problem: popup_show() from a CmdlineChanged autocommand doesn't update
the screen (Mao-Yining)
Solution: Refresh the screen when popups need redraw
(Yasuhiro Matsumoto).
popup_settext()/popup_show() called from a CmdlineChanged autocommand
did not refresh the screen because cmdline mode normally skips
update_screen(), so async info-popup updates only became visible after
a manual :redraw. Refresh the screen when popups need redrawing right
after the autocommand.
fixes: vim/vim#20175
closes: vim/vim#20179
https://github.com/vim/vim/commit/ef1ecc3b61fd9f462ae3571ed98dd09457659e63
Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>