summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/highlight.c b/src/highlight.c
index fa329813d8..efbc5b10e2 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -343,6 +343,7 @@ static char *(highlight_init_dark[]) = {
NULL
};
+#if defined(FEAT_SYN_HL) || defined(PROTO)
/*
* Returns the number of highlight groups.
*/
@@ -369,6 +370,7 @@ highlight_link_id(int id)
{
return HL_TABLE()[id].sg_link;
}
+#endif
void
init_highlight(