aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2015-01-26 19:32:20 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-02 14:56:58 -0300
commitf468fb70cb6d82dca5b9a23706b4b6b70a3beab6 (patch)
treea662a544bf596fe0fb9ccb71aa76df0c581e3c66 /src/nvim/syntax.h
parentae2b747e647c3cab5962861e8c3d047869c25551 (diff)
downloadrneovim-f468fb70cb6d82dca5b9a23706b4b6b70a3beab6.tar.gz
rneovim-f468fb70cb6d82dca5b9a23706b4b6b70a3beab6.tar.bz2
rneovim-f468fb70cb6d82dca5b9a23706b4b6b70a3beab6.zip
api/vim: allow guis and tests to retrieve the entire color table
Diffstat (limited to 'src/nvim/syntax.h')
-rw-r--r--src/nvim/syntax.h6
1 files changed, 6 insertions, 0 deletions
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