aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-11-11 21:48:14 +0100
committerGitHub <noreply@github.com>2019-11-11 21:48:14 +0100
commit122426966e1046f45801103eace2887ea59d4941 (patch)
treee3f113e8e91876e1746d723ac082a27355328404 /src/nvim/buffer_defs.h
parent181486d7e614c1a417ec0f555cdfd25716cb5e38 (diff)
parent18a8b702c0ce7a8bacd84f6c95e440ae23a3299e (diff)
downloadrneovim-122426966e1046f45801103eace2887ea59d4941.tar.gz
rneovim-122426966e1046f45801103eace2887ea59d4941.tar.bz2
rneovim-122426966e1046f45801103eace2887ea59d4941.zip
Merge pull request #11356 from bfredl/extmark2
extmark API feature
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index ca740dea21..29eb32d40a 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -115,6 +115,9 @@ typedef uint16_t disptick_T; // display tick type
#include "nvim/os/fs_defs.h" // for FileID
#include "nvim/terminal.h" // for Terminal
+#include "nvim/lib/kbtree.h"
+#include "nvim/mark_extended.h"
+
/*
* The taggy struct is used to store the information about a :tag command.
*/
@@ -805,6 +808,10 @@ struct file_buffer {
kvec_t(BufhlLine *) b_bufhl_move_space; // temporary space for highlights
+ PMap(uint64_t) *b_extmark_ns; // extmark namespaces
+ kbtree_t(extmarklines) b_extlines; // extmarks
+ kvec_t(ExtMarkLine *) b_extmark_move_space; // temp space for extmarks
+
// array of channel_id:s which have asked to receive updates for this
// buffer.
kvec_t(uint64_t) update_channels;