mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
nsmarks: initial commit
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user