From 877151b3d8f6dacca56ce8e7f20fa5b27142d782 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 11 Oct 2022 15:29:50 +0100 Subject: patch 9.0.0722: virtual text "after" does not show with 'list' set Problem: Virtual text "after" does not show with 'list' set. Solution: Do not break out of the loop when another text prop follows. (closes #11337) --- src/drawline.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/drawline.c') diff --git a/src/drawline.c b/src/drawline.c index b71bedefa..2f28417ac 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -3787,14 +3787,18 @@ win_line( // When not wrapping and finished diff lines, or when displayed // '$' and highlighting until last column, break here. - if ((!wp->w_p_wrap + if (((!wp->w_p_wrap #ifdef FEAT_DIFF && wlv.filler_todo <= 0 #endif #ifdef FEAT_PROP_POPUP - && !text_prop_above && !text_prop_follows + && !text_prop_above #endif - ) || lcs_eol_one == -1) + ) || lcs_eol_one == -1) +#ifdef FEAT_PROP_POPUP + && !text_prop_follows +#endif + ) break; #ifdef FEAT_PROP_POPUP if (!wp->w_p_wrap && text_prop_follows && !text_prop_above) -- cgit v1.2.1