fix(screen): check for col instead of vcol when drawing fold (#19572)

This commit is contained in:
zeertzjq
2022-07-29 21:47:21 +08:00
committed by GitHub
parent 02efdb4d58
commit e59bc078de
2 changed files with 78 additions and 1 deletions

View File

@@ -2909,7 +2909,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool noc
if (draw_state == WL_LINE
&& has_fold
&& vcol == 0
&& col == win_col_offset
&& n_extra == 0
&& row == startrow) {
char_attr = win_hl_attr(wp, HLF_FL);