aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2018-02-11 22:51:29 +0100
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commit6bdcbef2f5acfd9815599c751bd8dcbe3204281f (patch)
treef062beba15edde1f0a8120bcef09caf00c585bee /src/nvim/buffer.c
parenta1d831a49c9428fcbd55d4b06bacca9cb2e9320c (diff)
downloadrneovim-6bdcbef2f5acfd9815599c751bd8dcbe3204281f.tar.gz
rneovim-6bdcbef2f5acfd9815599c751bd8dcbe3204281f.tar.bz2
rneovim-6bdcbef2f5acfd9815599c751bd8dcbe3204281f.zip
The grand renaming
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index e7ff25ce6b..e5b7128248 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -73,7 +73,7 @@
#include "nvim/os/os.h"
#include "nvim/os/time.h"
#include "nvim/os/input.h"
-#include "nvim/liveupdate.h"
+#include "nvim/buffer_updates.h"
typedef enum {
kBLSUnchanged = 0,
@@ -576,7 +576,7 @@ void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last)
do_autochdir();
// disable live updates for the current buffer
- liveupdate_unregister_all(buf);
+ buffer_updates_unregister_all(buf);
/*
* Remove the buffer from the list.
@@ -789,7 +789,7 @@ free_buffer_stuff (
xfree(buf->b_start_fenc);
buf->b_start_fenc = NULL;
- liveupdate_unregister_all(buf);
+ buffer_updates_unregister_all(buf);
}
/*
@@ -1741,8 +1741,8 @@ buf_T * buflist_new(char_u *ffname, char_u *sfname, linenr_T lnum, int flags)
clrallmarks(buf); // clear marks
fmarks_check_names(buf); // check file marks for this file
buf->b_p_bl = (flags & BLN_LISTED) ? true : false; // init 'buflisted'
- kv_destroy(buf->liveupdate_channels);
- kv_init(buf->liveupdate_channels);
+ kv_destroy(buf->update_channels);
+ kv_init(buf->update_channels);
if (!(flags & BLN_DUMMY)) {
// Tricky: these autocommands may change the buffer list. They could also
// split the window with re-using the one empty buffer. This may result in