mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
The grand renaming
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user