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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user