Problem: Spelling mistakes are not displayed after ":syn spell".
Solution: Force a redraw after ":syn spell" command. (Christian Brabandt)
else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
curwin->w_s->b_syn_spell = SYNSPL_DEFAULT;
else
+ {
EMSG2(_("E390: Illegal argument: %s"), arg);
+ return;
+ }
+
+ /* assume spell checking changed, force a redraw */
+ redraw_win_later(curwin, NOT_VALID);
}
/*
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 760,
/**/
759,
/**/