# HG changeset patch # User Bram Moolenaar # Date 1435250186 -7200 # Node ID bcc0909b379e89c7b45ac1eb9be4018bfe0577c9 # Parent 866613d5b33f271456c7037f6c19a3eb8c61047c patch 7.4.760 Problem: Spelling mistakes are not displayed after ":syn spell". Solution: Force a redraw after ":syn spell" command. (Christian Brabandt) diff --git a/src/syntax.c b/src/syntax.c --- a/src/syntax.c +++ b/src/syntax.c @@ -3469,7 +3469,13 @@ syn_cmd_spell(eap, syncing) 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); } /* diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 760, +/**/ 759, /**/ 758,