0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 9.0.0472: virtual text "below" doesn't show in list mode

Problem:    Virtual text "below" doesn't show in list mode.
Solution:   Reset lcs_eol_one when displaying text property.
This commit is contained in:
Bram Moolenaar
2022-09-15 19:44:09 +01:00
parent 12167d8b84
commit a4abe514ec
4 changed files with 18 additions and 0 deletions

View File

@@ -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)