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;
|
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 */
|
/* handle Visual or match highlighting in this line */
|
||||||
if (vcol == fromcol
|
if (vcol == fromcol
|
||||||
|
@@ -799,6 +799,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
683,
|
||||||
/**/
|
/**/
|
||||||
682,
|
682,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user