mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 9.0.0184: virtual text prop highlight continues after truncation
Problem: Virtual text prop highlight continues after truncation. Solution: Recompute the length of attributes.
This commit is contained in:
@@ -1793,6 +1793,7 @@ win_line(
|
||||
wlv.p_extra = p_extra_free2 = l;
|
||||
wlv.n_extra = n_used + added;
|
||||
n_attr_skip = added;
|
||||
n_attr = mb_charlen(wlv.p_extra);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user