mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
feat(buffer_updates): allow ignoring when previewing
Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
This commit is contained in:
@@ -491,9 +491,10 @@ typedef struct {
|
||||
LuaRef on_changedtick;
|
||||
LuaRef on_detach;
|
||||
bool utf_sizes;
|
||||
bool preview;
|
||||
} BufUpdateCallbacks;
|
||||
#define BUF_UPDATE_CALLBACKS_INIT { LUA_NOREF, LUA_NOREF, LUA_NOREF, \
|
||||
LUA_NOREF, false }
|
||||
LUA_NOREF, false, false }
|
||||
|
||||
EXTERN int curbuf_splice_pending INIT(= 0);
|
||||
|
||||
|
Reference in New Issue
Block a user