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 <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/drawline.c b/src/drawline.c
index 6909e0f..9f385f0 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -498,10 +498,11 @@
{
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