0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.0.0662: concealed characters do not work correctly

Problem:    Concealed characters do not work correctly.
Solution:   Subtract boguscols instead of adding them. (closes #11273)
This commit is contained in:
Bram Moolenaar
2022-10-04 22:40:56 +01:00
parent 18b3500b8c
commit 7500866182
4 changed files with 38 additions and 2 deletions

View File

@@ -3689,9 +3689,9 @@ win_line(
)
{
#ifdef FEAT_CONCEAL
wlv.col += wlv.boguscols;
wlv_screen_line(wp, &wlv, FALSE);
wlv.col -= wlv.boguscols;
wlv_screen_line(wp, &wlv, FALSE);
wlv.col += wlv.boguscols;
wlv.boguscols = 0;
#else
wlv_screen_line(wp, &wlv, FALSE);