From 4ff813e5c61afe495ba5e2a0a5c933585f1329ca Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 22 Feb 2025 06:05:32 +0800 Subject: vim-patch:9.1.1130: 'listchars' "precedes" is not drawn on Tabs. (#32563) Problem: 'listchars' "precedes" is not drawn on Tabs. Solution: Only draw 'listchars' "precedes" when not skipping over cells. (zeertzjq) fixes: vim/vim#5927 closes: vim/vim#16691 https://github.com/vim/vim/commit/13f100e9328b1344fec79806791eb3f5234d4ccc --- src/nvim/drawline.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c index dc5dbb958a..679f92c3b8 100644 --- a/src/nvim/drawline.c +++ b/src/nvim/drawline.c @@ -2581,6 +2581,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, int col_rows, s && wp->w_p_list && (wp->w_p_wrap ? (wp->w_skipcol > 0 && wlv.row == 0) : wp->w_leftcol > 0) && wlv.filler_todo <= 0 + && wlv.skip_cells <= 0 && mb_schar != NUL) { lcs_prec_todo = NUL; // TODO(zeertzjq): handle the n_extra > 0 case -- cgit