changeset 15351:be92862a0cb4 v8.1.0683

patch 8.1.0683: spell highlighting does not always end commit https://github.com/vim/vim/commit/637532b3c0ca41f0de7e90b6f3c0defe06369372 Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Jan 2019 21:45:05 +0100
parents 09c9a8384440
children bcb99492a20f
files src/screen.c src/version.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,