mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
bufhl: fix move
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user