mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
Problem: "cmdline_show" event may be emitted with an invalid cursor
position, causing a redraw that will clear the match highlight.
Solution: Mark the cursor position as valid so that a "cmdline_show"
callback that updates the screen does not clear the match highlight.