fix(extmarks): overlay virt_text position after 'showbreak' (#25175)

Also make virt_text_hide work properly.
This commit is contained in:
zeertzjq
2023-09-15 20:30:50 +08:00
committed by GitHub
parent f5a09f1b03
commit 35e50d79c6
5 changed files with 106 additions and 19 deletions

View File

@@ -1280,7 +1280,7 @@ static TriState decor_spell_nav_col(win_T *wp, linenr_T lnum, linenr_T *decor_ln
decor_redraw_line(wp, lnum - 1, &decor_state);
*decor_lnum = lnum;
}
decor_redraw_col(wp, col, col, false, &decor_state);
decor_redraw_col(wp, col, 0, false, &decor_state);
return decor_state.spell;
}