aboutsummaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/syntax.c b/src/syntax.c
index dd2f87c48b..e05a4d1bfb 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -7276,34 +7276,6 @@ highlight_color (
return NULL;
}
-#if (defined(FEAT_SYN_HL) && defined(FEAT_GUI) && defined(FEAT_PRINTER)) \
- || defined(PROTO)
-/*
- * Return color name of highlight group "id" as RGB value.
- */
-long_u
-highlight_gui_color_rgb (
- int id,
- int fg /* TRUE = fg, FALSE = bg */
-)
-{
- guicolor_T color;
-
- if (id <= 0 || id > highlight_ga.ga_len)
- return 0L;
-
- if (fg)
- color = HL_TABLE()[id - 1].sg_gui_fg;
- else
- color = HL_TABLE()[id - 1].sg_gui_bg;
-
- if (color == INVALCOLOR)
- return 0L;
-
- return gui_mch_get_rgb(color);
-}
-#endif
-
/*
* Output the syntax list header.
* Return TRUE when started a new line.