mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
fix(inccommand): clear cmdpreview state if preview is not shown (#18923)
This commit is contained in:
@@ -2516,6 +2516,7 @@ static void cmdpreview_show(CommandLineState *s)
|
||||
|
||||
// If preview callback returned 0, update screen to clear remnants of an earlier preview.
|
||||
if (cmdpreview_type == 0) {
|
||||
cmdpreview = false;
|
||||
update_screen(SOME_VALID);
|
||||
}
|
||||
end:
|
||||
|
Reference in New Issue
Block a user