forked from aniani/vim
patch 8.1.2160: cannot build with +syntax but without +terminal
Problem: Cannot build with +syntax but without +terminal. Solution: Add #ifdef.
This commit is contained in:
@@ -1517,7 +1517,11 @@ win_line(
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_SYN_HL
|
#ifdef FEAT_SYN_HL
|
||||||
if (has_syntax || get_term_attr)
|
if (has_syntax
|
||||||
|
# ifdef FEAT_TERMINAL
|
||||||
|
|| get_term_attr
|
||||||
|
# endif
|
||||||
|
)
|
||||||
char_attr = syntax_attr;
|
char_attr = syntax_attr;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -753,6 +753,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 */
|
||||||
|
/**/
|
||||||
|
2160,
|
||||||
/**/
|
/**/
|
||||||
2159,
|
2159,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user