Mercurial > vim
diff src/drawline.c @ 30273:5f112a0b4da1 v9.0.0472
patch 9.0.0472: virtual text "below" doesn't show in list mode
Commit: https://github.com/vim/vim/commit/a4abe514ecd9b7a038feed89f48476809775c80f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 15 19:44:09 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 15 Sep 2022 20:45:03 +0200 |
parents | 8d660a45299f |
children | 6391b3ca26b7 |
line wrap: on
line diff
--- 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)