Skip to content

Commit b2fe1d6

Browse files
committed
patch 8.1.2163: cannot build with +spell but without +syntax
Problem: Cannot build with +spell but without +syntax. Solution: Add #ifdef. (John Marriott)
1 parent 4e03933 commit b2fe1d6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/drawline.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,9 @@ win_line(
14211421
syntax_attr = prev_syntax_attr;
14221422
else
14231423
{
1424+
# ifdef FEAT_SPELL
14241425
can_spell = TRUE;
1426+
# endif
14251427
syntax_attr = get_syntax_attr((colnr_T)v,
14261428
# ifdef FEAT_SPELL
14271429
has_spell ? &can_spell :

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ static char *(features[]) =
753753

754754
static int included_patches[] =
755755
{ /* Add new patch number below this line */
756+
/**/
757+
2163,
756758
/**/
757759
2162,
758760
/**/

0 commit comments

Comments
 (0)