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:
parent
4e03933726
commit
b2fe1d676f
@ -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 :
|
||||
|
@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2163,
|
||||
/**/
|
||||
2162,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user