From 588f20decebebedba3ad733f4f443a597e9747c3 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 5 Dec 2023 15:47:09 +0100 Subject: patch 9.0.2151: 'breakindent' is not drawn after diff filler lines Problem: 'breakindent' is not drawn after diff filler lines. Solution: Correct check for whether 'breakindent' should be drawn. closes: #13624 Signed-off-by: zeertzjq Signed-off-by: Christian Brabandt --- src/drawline.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/drawline.c') diff --git a/src/drawline.c b/src/drawline.c index 6909e0f1fd..9f385f033a 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -498,10 +498,11 @@ handle_breakindent(win_T *wp, winlinevars_T *wlv) { wlv->draw_state = WL_BRI; // if wlv->need_showbreak is set, breakindent also applies - if (wp->w_p_bri && (wlv->row != wlv->startrow || wlv->need_showbreak) + if (wp->w_p_bri && (wlv->row > wlv->startrow # ifdef FEAT_DIFF - && wlv->filler_lines == 0 + + wlv->filler_lines # endif + || wlv->need_showbreak) # ifdef FEAT_PROP_POPUP && !wlv->dont_use_showbreak # endif -- cgit v1.2.3