mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
fix(extmarks): redraw properly with scoped inline virt_text (#27569)
This commit is contained in:
@@ -153,7 +153,8 @@ CharSize charsize_regular(CharsizeArg *csarg, char *const cur, colnr_T const vco
|
||||
if (mark.pos.row != csarg->virt_row || mark.pos.col > col) {
|
||||
break;
|
||||
} else if (mark.pos.col == col) {
|
||||
if (!mt_end(mark) && mark.flags & (MT_FLAG_DECOR_VIRT_TEXT_INLINE)) {
|
||||
if (!mt_end(mark) && (mark.flags & MT_FLAG_DECOR_VIRT_TEXT_INLINE)
|
||||
&& mt_scoped_in_win(mark, wp)) {
|
||||
DecorInline decor = mt_decor(mark);
|
||||
DecorVirtText *vt = decor.ext ? decor.data.ext.vt : NULL;
|
||||
while (vt) {
|
||||
|
Reference in New Issue
Block a user