summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorAlexey Radkov <alexey.radkov@gmail.com>2023-01-04 11:15:30 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-04 11:15:30 +0000
commitaaa16b09180080284c4a5049fe16bdaccbb13b74 (patch)
treebc12b729a1f396eef330eee294760ede70f309f0 /src/drawline.c
parent574950dfb1d353f094463b709e39544ebf8fcdcd (diff)
patch 9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealingv9.0.1141
Problem: 'cursorcolumn' and 'colorcolumn' wrong after concealing and wrapping line. Solution: Reset "wlv.vcol_off" after each screen line. (Alexey Radkov, closes #11777)
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 11cfb7782f..a82a5e49f5 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -3893,6 +3893,7 @@ win_line(
wlv_screen_line(wp, &wlv, FALSE);
wlv.col += wlv.boguscols;
wlv.boguscols = 0;
+ wlv.vcol_off = 0;
#else
wlv_screen_line(wp, &wlv, FALSE);
#endif