diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-01-15 23:59:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 23:59:40 +0100 |
commit | 561df30981461a0e20966839c716f07665b107c0 (patch) | |
tree | b9434752eb6fafca2695c451ab5523d8489f5c65 /src/nvim/extmark.h | |
parent | b455e0179b4288c69e6231bfcf8d1c132b78f2fc (diff) | |
parent | 95ab979fde66d8f9f97fceb943bfe9422739a0f8 (diff) | |
download | rneovim-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.h | 3 |
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; |