summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ex_getln.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 45a0a36321..9c98f99bab 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -525,6 +525,7 @@ may_do_incsearch_highlighting(
curwin->w_redr_status = TRUE;
update_screen(SOME_VALID);
+ highlight_match = FALSE;
restore_last_search_pattern();
// Leave it at the end to make CTRL-R CTRL-W work. But not when beyond the
@@ -642,6 +643,7 @@ may_adjust_incsearch_highlighting(
highlight_match = TRUE;
save_viewstate(&is_state->old_viewstate);
update_screen(NOT_VALID);
+ highlight_match = FALSE;
redrawcmdline();
curwin->w_cursor = is_state->match_end;
}
diff --git a/src/version.c b/src/version.c
index 718ad6528f..2d0c84ec63 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2222,
+/**/
2221,
/**/
2220,