0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.2163: cannot build with +spell but without +syntax

Problem:    Cannot build with +spell but without +syntax.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar 2019-10-16 21:33:40 +02:00
parent 4e03933726
commit b2fe1d676f
2 changed files with 4 additions and 0 deletions

View File

@ -1421,7 +1421,9 @@ win_line(
syntax_attr = prev_syntax_attr;
else
{
# ifdef FEAT_SPELL
can_spell = TRUE;
# endif
syntax_attr = get_syntax_attr((colnr_T)v,
# ifdef FEAT_SPELL
has_spell ? &can_spell :

View File

@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2163,
/**/
2162,
/**/