aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.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/buffer_defs.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/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 63a550c017..bba53b415a 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -866,8 +866,7 @@ struct file_buffer {
int b_mapped_ctrl_c; // modes where CTRL-C is mapped
MarkTree b_marktree[1];
- Map(uint64_t, ExtmarkItem) b_extmark_index[1];
- Map(uint64_t, ExtmarkNs) b_extmark_ns[1]; // extmark namespaces
+ Map(uint32_t, uint32_t) b_extmark_ns[1]; // extmark namespaces
size_t b_virt_line_blocks; // number of virt_line blocks
// array of channel_id:s which have asked to receive updates for this