'inccommand': preserve b:changedtick

This commit is contained in:
Justin M. Keyes
2016-11-06 16:57:44 +01:00
parent e4e7b2d239
commit e31f9007e4
2 changed files with 24 additions and 3 deletions

View File

@@ -6166,6 +6166,7 @@ void ex_substitute(exarg_T *eap)
// XXX: Must do this *after* u_undo_and_forget(), why?
close_windows(incsub_buf, false);
}
curbuf->b_changedtick = save_changedtick;
curbuf->b_p_ul = save_b_p_ul;
eap->arg = save_eap;
restore_search_patterns();