0
0
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:
Bram Moolenaar
2019-01-03 21:44:40 +01:00
parent 196d157f12
commit 637532b3c0
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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,
/**/ /**/