aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/extmark_defs.h')
-rw-r--r--src/nvim/extmark_defs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/nvim/extmark_defs.h b/src/nvim/extmark_defs.h
index b5d91382ec..c0a4f4014f 100644
--- a/src/nvim/extmark_defs.h
+++ b/src/nvim/extmark_defs.h
@@ -1,11 +1,21 @@
#ifndef NVIM_EXTMARK_DEFS_H
#define NVIM_EXTMARK_DEFS_H
-#include "nvim/types.h"
#include "nvim/lib/kvec.h"
+#include "nvim/types.h"
typedef struct Decoration Decoration;
+typedef struct {
+ char *text;
+ int hl_id;
+} VirtTextChunk;
+
+typedef kvec_t(VirtTextChunk) VirtText;
+#define VIRTTEXT_EMPTY ((VirtText)KV_INITIAL_VALUE)
+typedef kvec_t(VirtText) VirtLines;
+
+
typedef struct
{
uint64_t ns_id;