0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.760

Problem:    Spelling mistakes are not displayed after ":syn spell".
Solution:   Force a redraw after ":syn spell" command. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2015-06-25 18:36:26 +02:00
parent 9514b1f9a1
commit 5081d20247
2 changed files with 8 additions and 0 deletions

View File

@@ -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);
}
/*