Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
30272:200a2586dc4d | 30273:5f112a0b4da1 |
---|---|
1886 // wlv.p_extra was allocated | 1886 // wlv.p_extra was allocated |
1887 vim_free(p_extra_free2); | 1887 vim_free(p_extra_free2); |
1888 p_extra_free2 = wlv.p_extra; | 1888 p_extra_free2 = wlv.p_extra; |
1889 } | 1889 } |
1890 | 1890 |
1891 if (lcs_eol_one < 0 && wlv.col | |
1892 + wlv.n_extra - 2 > wp->w_width) | |
1893 // don't bail out at end of line | |
1894 lcs_eol_one = 0; | |
1895 | |
1891 // When 'wrap' is off then for "below" we need | 1896 // When 'wrap' is off then for "below" we need |
1892 // to start a new line explictly. | 1897 // to start a new line explictly. |
1893 if (start_line) | 1898 if (start_line) |
1894 { | 1899 { |
1895 draw_screen_line(wp, &wlv); | 1900 draw_screen_line(wp, &wlv); |