forked from aniani/vim
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:
@@ -3469,7 +3469,13 @@ syn_cmd_spell(eap, syncing)
|
|||||||
else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
|
else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
|
||||||
curwin->w_s->b_syn_spell = SYNSPL_DEFAULT;
|
curwin->w_s->b_syn_spell = SYNSPL_DEFAULT;
|
||||||
else
|
else
|
||||||
|
{
|
||||||
EMSG2(_("E390: Illegal argument: %s"), arg);
|
EMSG2(_("E390: Illegal argument: %s"), arg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* assume spell checking changed, force a redraw */
|
||||||
|
redraw_win_later(curwin, NOT_VALID);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
760,
|
||||||
/**/
|
/**/
|
||||||
759,
|
759,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user