vim-patch:9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealing

Problem:    'cursorcolumn' and 'colorcolumn' wrong after concealing and
            wrapping line.
Solution:   Reset "wlv.vcol_off" after each screen line. (Alexey Radkov,
            closes vim/vim#11777)

aaa16b0918

Cherry-pick test_conceal.vim changes from patches 8.2.4339, 9.0.0418.

Co-authored-by: Alexey Radkov <alexey.radkov@gmail.com>
This commit is contained in:
zeertzjq
2023-04-19 13:11:50 +08:00
parent cff02e993d
commit 8bed07357d
2 changed files with 37 additions and 9 deletions

View File

@@ -2947,6 +2947,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange,
}
wlv.boguscols = 0;
wlv.vcol_off = 0;
wlv.row++;
// When not wrapping and finished diff lines, or when displayed