# HG changeset patch # User Bram Moolenaar # Date 1546548305 -3600 # Node ID be92862a0cb465e785997971081952053e1278d2 # Parent 09c9a838444040c200d932a854baf3df95bc5b59 patch 8.1.0683: spell highlighting does not always end commit https://github.com/vim/vim/commit/637532b3c0ca41f0de7e90b6f3c0defe06369372 Author: Bram Moolenaar Date: Thu Jan 3 21:44:40 2019 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 683, +/**/ 682, /**/ 681,