mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 8.1.0683: spell highlighting does not always end
Problem: Spell highlighting does not always end. (Gary Johnson) Solution: Also reset char_attr when spell errors are highlighted.
This commit is contained in:
@@ -4161,7 +4161,11 @@ win_line(
|
||||
break;
|
||||
}
|
||||
|
||||
if (draw_state == WL_LINE && area_highlighting)
|
||||
if (draw_state == WL_LINE && (area_highlighting
|
||||
#ifdef FEAT_SPELL
|
||||
|| has_spell
|
||||
#endif
|
||||
))
|
||||
{
|
||||
/* handle Visual or match highlighting in this line */
|
||||
if (vcol == fromcol
|
||||
|
Reference in New Issue
Block a user