summaryrefslogtreecommitdiff
path: root/src/drawline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 39ec5ed40..5916458be 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -2482,7 +2482,9 @@ win_line(
// special character (via 'listchars' option "precedes:<char>".
if (lcs_prec_todo != NUL
&& wp->w_p_list
- && (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0)
+ && (wp->w_p_wrap ?
+ (wp->w_skipcol > 0 && row == 0) :
+ wp->w_leftcol > 0)
#ifdef FEAT_DIFF
&& filler_todo <= 0
#endif