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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/extmark_defs.h b/src/nvim/extmark_defs.h
index b5d91382ec..2da4f3dc00 100644
--- a/src/nvim/extmark_defs.h
+++ b/src/nvim/extmark_defs.h
@@ -6,6 +6,16 @@
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;