aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/highlight_group.h')
-rw-r--r--src/nvim/highlight_group.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nvim/highlight_group.h b/src/nvim/highlight_group.h
new file mode 100644
index 0000000000..325113a4ab
--- /dev/null
+++ b/src/nvim/highlight_group.h
@@ -0,0 +1,19 @@
+#ifndef NVIM_HIGHLIGHT_GROUP_H
+#define NVIM_HIGHLIGHT_GROUP_H
+
+#include "nvim/types.h"
+#include "nvim/eval.h"
+
+#define MAX_HL_ID 20000 // maximum value for a highlight ID.
+
+typedef struct {
+ char *name;
+ RgbValue color;
+} color_name_table_T;
+extern color_name_table_T color_name_table[];
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "highlight_group.h.generated.h"
+#endif
+
+#endif // NVIM_HIGHLIGHT_GROUP_H