mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 13:10:44 +00:00
lint
This commit is contained in:
@@ -2049,8 +2049,9 @@ void op_insert(oparg_T *oap, long count1)
|
||||
ind_pre = (colnr_T)getwhitecols_curline();
|
||||
firstline = ml_get(oap->start.lnum) + bd.textcol;
|
||||
|
||||
if (oap->op_type == OP_APPEND)
|
||||
if (oap->op_type == OP_APPEND) {
|
||||
firstline += bd.textlen;
|
||||
}
|
||||
pre_textlen = (long)STRLEN(firstline);
|
||||
}
|
||||
|
||||
@@ -4132,8 +4133,8 @@ format_lines (
|
||||
if (next_leader_len > 0) {
|
||||
(void)del_bytes(next_leader_len, false, false);
|
||||
mark_col_adjust(curwin->w_cursor.lnum, (colnr_T)0, 0L,
|
||||
(long)-next_leader_len);
|
||||
} else if (second_indent > 0) { /* the "leader" for FO_Q_SECOND */
|
||||
(long)-next_leader_len);
|
||||
} else if (second_indent > 0) { // the "leader" for FO_Q_SECOND
|
||||
int indent = (int)getwhitecols_curline();
|
||||
|
||||
if (indent > 0) {
|
||||
|
||||
Reference in New Issue
Block a user