From: Bram Moolenaar Date: Thu, 3 Jan 2019 20:44:40 +0000 (+0100) Subject: patch 8.1.0683: spell highlighting does not always end X-Git-Tag: v8.1.0683 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=637532b3c0ca41f0de7e90b6f3c0defe06369372;p=vim 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. --- diff --git a/src/screen.c b/src/screen.c index e0e9d3b7e..adc62e10e 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 diff --git a/src/version.c b/src/version.c index a7bee9099..c3379676e 100644 --- a/src/version.c +++ b/src/version.c @@ -799,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 683, /**/ 682, /**/