summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-11 15:29:50 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-11 15:29:50 +0100
commit877151b3d8f6dacca56ce8e7f20fa5b27142d782 (patch)
treeff676de455aa541563005b93e402a4a2b9352965 /src/drawline.c
parent9466fb8001227a4bc9045e91045426bc40680366 (diff)
patch 9.0.0722: virtual text "after" does not show with 'list' setv9.0.0722
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)
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/drawline.c b/src/drawline.c
index b71bedefab..2f28417acb 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)