fix(column): missing redraw with virt_lines_leftcol (#34650)

Problem:  Missing number column redraw with virt_lines_leftcol.
Solution: Set virt_line_index to -1 when skipping a virtual line.
This commit is contained in:
zeertzjq
2025-06-26 13:16:19 +08:00
parent 203d4f916d
commit 0613faf596
2 changed files with 50 additions and 16 deletions

View File

@@ -1688,6 +1688,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, int col_rows, b
break;
}
wlv.filler_todo--;
virt_line_index = -1;
if (wlv.filler_todo == 0 && (wp->w_botfill || !draw_text)) {
break;
}