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
committed by GitHub
parent f0757ee590
commit b40e658717
2 changed files with 40 additions and 12 deletions

View File

@@ -1716,6 +1716,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;
}