fix(column): wrong alignment and highlight with empty 'display' (#35495)

This fixes a regression from #26961.
This commit is contained in:
zeertzjq
2025-08-27 10:16:13 +08:00
committed by GitHub
parent 8b171852a9
commit 8f78591f9a
4 changed files with 72 additions and 14 deletions

View File

@@ -3178,5 +3178,5 @@ static void wlv_put_linebuf(win_T *wp, const winlinevars_T *wlv, int endcol, boo
int row = wlv->row;
int coloff = 0;
ScreenGrid *g = grid_adjust(grid, &row, &coloff);
grid_put_linebuf(g, row, coloff, startcol, endcol, clear_width, bg_attr, wlv->vcol - 1, flags);
grid_put_linebuf(g, row, coloff, startcol, endcol, clear_width, bg_attr, 0, wlv->vcol - 1, flags);
}