bufhl: fix move

This commit is contained in:
Björn Linse
2016-08-28 15:36:18 +02:00
parent 7873660e1e
commit 8b375cf471
10 changed files with 69 additions and 39 deletions

View File

@@ -2311,7 +2311,7 @@ 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);
mark_adjust(lnum, lnum + count - 1, (long)MAXLNUM, (long)added, false);
if (curwin->w_cursor.lnum >= lnum) {
// Adjust the cursor position if it's in/after the changed
// lines.