diff options
| author | Björn Linse <bjorn.linse@gmail.com> | 2017-06-24 13:46:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-24 13:46:48 +0200 |
| commit | ca385db4d015adcae4d726f2f7987986832a7df3 (patch) | |
| tree | 83f6cd0f3aeaa6a1a659d403134cf42ac9b71ec6 /src/nvim/buffer_defs.h | |
| parent | 144f584948a0183382411dd583df9b18cd95b473 (diff) | |
| parent | 8b375cf471359ad7632af7fa6a2298c9b7596691 (diff) | |
| download | rneovim-ca385db4d015adcae4d726f2f7987986832a7df3.tar.gz rneovim-ca385db4d015adcae4d726f2f7987986832a7df3.tar.bz2 rneovim-ca385db4d015adcae4d726f2f7987986832a7df3.zip | |
Merge pull request #5266 from bfredl/kbtree
add kbtree_t and use it for bufhl
Diffstat (limited to 'src/nvim/buffer_defs.h')
| -rw-r--r-- | src/nvim/buffer_defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index af2b50e22d..559dffb945 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -106,8 +106,6 @@ typedef struct frame_S frame_T; // for bufhl_*_T #include "nvim/bufhl_defs.h" -typedef Map(linenr_T, bufhl_vec_T) bufhl_info_T; - #include "nvim/os/fs_defs.h" // for FileID #include "nvim/terminal.h" // for Terminal @@ -762,7 +760,9 @@ struct file_buffer { int b_mapped_ctrl_c; // modes where CTRL-C is mapped - bufhl_info_T *b_bufhl_info; // buffer stored highlights + BufhlInfo b_bufhl_info; // buffer stored highlights + + kvec_t(BufhlLine *) b_bufhl_move_space; // temporary space for highlights }; /* |