aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-08-22 10:25:26 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-08-22 10:46:01 +0200
commit6d23a58b7d27a42de9c20a1492c07aeaffc956b6 (patch)
tree4917d068efdac0780fd9e466b446d8e10c6356a5 /src/nvim/buffer_defs.h
parent4500253f60ed634a7dcad15dfdaa2927afb99cdb (diff)
downloadrneovim-6d23a58b7d27a42de9c20a1492c07aeaffc956b6.tar.gz
rneovim-6d23a58b7d27a42de9c20a1492c07aeaffc956b6.tar.bz2
rneovim-6d23a58b7d27a42de9c20a1492c07aeaffc956b6.zip
refactor(extmark): remove pointer indirection for extmark use of maps
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index b03d69a04c..0ae8dd3664 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -863,8 +863,8 @@ 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;
- Map(uint64_t, ExtmarkNs) *b_extmark_ns; // extmark namespaces
+ Map(uint64_t, ExtmarkItem) b_extmark_index[1];
+ Map(uint64_t, ExtmarkNs) b_extmark_ns[1]; // extmark namespaces
// array of channel_id:s which have asked to receive updates for this
// buffer.