From f468fb70cb6d82dca5b9a23706b4b6b70a3beab6 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Mon, 26 Jan 2015 19:32:20 +0100 Subject: api/vim: allow guis and tests to retrieve the entire color table --- src/nvim/syntax.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nvim/syntax.h') diff --git a/src/nvim/syntax.h b/src/nvim/syntax.h index 9a284c8a8d..93088180b9 100644 --- a/src/nvim/syntax.h +++ b/src/nvim/syntax.h @@ -38,6 +38,12 @@ #define HL_CONCEAL 0x20000 /* can be concealed */ #define HL_CONCEALENDS 0x40000 /* can be concealed */ +typedef struct { + char *name; + RgbValue color; +} color_name_table_T; +extern color_name_table_T color_name_table[]; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "syntax.h.generated.h" #endif -- cgit