patch 9.1.1130: 'listchars' "precedes" is not drawn on Tabs.
Problem: 'listchars' "precedes" is not drawn on Tabs.
Solution: Only draw 'listchars' "precedes" when not skipping over cells.
(zeertzjq)
fixes: #5927
closes: #16691
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/drawline.c b/src/drawline.c
index aabf461..f24e7e0 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -3727,6 +3727,7 @@
&& wlv.filler_todo <= 0
#endif
&& wlv.draw_state > WL_NR
+ && skip_cells <= 0
&& c != NUL)
{
c = wp->w_lcs_chars.prec;