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 e0e9d3b..adc62e1 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4161,7 +4161,11 @@
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 a7bee90..c337967 100644
--- a/src/version.c
+++ b/src/version.c
@@ -800,6 +800,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 683,
+/**/
682,
/**/
681,