summaryrefslogtreecommitdiff
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-15 19:44:09 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-15 19:44:09 +0100
commita4abe514ecd9b7a038feed89f48476809775c80f (patch)
tree08ad5d6ad0a65e3b97c37cc59ace3cfaad92b8ea /src/drawline.c
parent12167d8b84c4a99751d9928f1a9a59c90b14931f (diff)
downloadvim-git-a4abe514ecd9b7a038feed89f48476809775c80f.tar.gz
patch 9.0.0472: virtual text "below" doesn't show in list modev9.0.0472
Problem: Virtual text "below" doesn't show in list mode. Solution: Reset lcs_eol_one when displaying text property.
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 50d18ec97..d958e7a89 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1888,6 +1888,11 @@ win_line(
p_extra_free2 = wlv.p_extra;
}
+ if (lcs_eol_one < 0 && wlv.col
+ + wlv.n_extra - 2 > wp->w_width)
+ // don't bail out at end of line
+ lcs_eol_one = 0;
+
// When 'wrap' is off then for "below" we need
// to start a new line explictly.
if (start_line)