aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/highlight_defs.h')
-rw-r--r--src/nvim/highlight_defs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nvim/highlight_defs.h b/src/nvim/highlight_defs.h
index 36f3181674..6a5c593ab1 100644
--- a/src/nvim/highlight_defs.h
+++ b/src/nvim/highlight_defs.h
@@ -4,6 +4,7 @@
#include <inttypes.h>
#include "nvim/macros.h"
+#include "nvim/types.h"
typedef int32_t RgbValue;
@@ -180,6 +181,20 @@ typedef struct {
HlKind kind;
int id1;
int id2;
+ int winid;
} HlEntry;
+typedef struct {
+ int ns_id;
+ int syn_id;
+} ColorKey;
+
+typedef struct {
+ int attr_id;
+ int link_id;
+ int version;
+} ColorItem;
+#define COLOR_ITEM_INITIALIZER { .attr_id = -1, .link_id = -1, .version = -1 }
+
+
#endif // NVIM_HIGHLIGHT_DEFS_H