aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-01-15 23:59:40 +0100
committerGitHub <noreply@github.com>2022-01-15 23:59:40 +0100
commit561df30981461a0e20966839c716f07665b107c0 (patch)
treeb9434752eb6fafca2695c451ab5523d8489f5c65 /src/nvim/extmark.h
parentb455e0179b4288c69e6231bfcf8d1c132b78f2fc (diff)
parent95ab979fde66d8f9f97fceb943bfe9422739a0f8 (diff)
downloadrneovim-561df30981461a0e20966839c716f07665b107c0.tar.gz
rneovim-561df30981461a0e20966839c716f07665b107c0.tar.bz2
rneovim-561df30981461a0e20966839c716f07665b107c0.zip
Merge pull request #16836 from bfredl/mark2
refactor(marks): use a more efficient representation with less pointer indirection
Diffstat (limited to 'src/nvim/extmark.h')
-rw-r--r--src/nvim/extmark.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/extmark.h b/src/nvim/extmark.h
index c70db9f7aa..c6ec1d0aa8 100644
--- a/src/nvim/extmark.h
+++ b/src/nvim/extmark.h
@@ -3,6 +3,7 @@
#include "nvim/buffer_defs.h"
#include "nvim/extmark_defs.h"
+#include "nvim/decoration.h"
#include "nvim/marktree.h"
#include "nvim/pos.h"
@@ -15,7 +16,7 @@ typedef struct {
colnr_T col;
int end_row;
colnr_T end_col;
- Decoration *decor;
+ Decoration decor; // TODO(bfredl): CHONKY
} ExtmarkInfo;
typedef kvec_t(ExtmarkInfo) ExtmarkInfoArray;