doc [ci skip]

This commit is contained in:
Justin M. Keyes
2019-11-10 16:52:14 -08:00
parent 0190de9aab
commit 54473e9a67
3 changed files with 28 additions and 27 deletions

View File

@@ -3457,9 +3457,9 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout,
linenr_T newline_in_pat = 0;
linenr_T newline_in_sub = 0;
// inccomand tests fail without this check
// inccommand tests fail without this check
if (!preview) {
// Requried for Undo to work for nsmarks,
// Required for Undo to work for extmarks.
u_save_cursor();
}