mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
lint
This commit is contained in:
@@ -7213,10 +7213,11 @@ static void ex_read(exarg_T *eap)
|
||||
else
|
||||
lnum = 1;
|
||||
if (*ml_get(lnum) == NUL && u_savedel(lnum, 1L) == OK) {
|
||||
ml_delete(lnum, FALSE);
|
||||
ml_delete(lnum, false);
|
||||
if (curwin->w_cursor.lnum > 1
|
||||
&& curwin->w_cursor.lnum >= lnum)
|
||||
--curwin->w_cursor.lnum;
|
||||
&& curwin->w_cursor.lnum >= lnum) {
|
||||
curwin->w_cursor.lnum--;
|
||||
}
|
||||
deleted_lines_mark(lnum, 1L);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user