diff options
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r-- | src/nvim/diff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c index 31552929dc..313f77474d 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -2690,7 +2690,8 @@ void ex_diffgetput(exarg_T *eap) // Adjust marks. This will change the following entries! if (added != 0) { - mark_adjust(lnum, lnum + count - 1, (long)MAXLNUM, (long)added, false); + mark_adjust(lnum, lnum + count - 1, (long)MAXLNUM, (long)added, false, + kExtmarkUndo); if (curwin->w_cursor.lnum >= lnum) { // Adjust the cursor position if it's in/after the changed // lines. |