mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +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.