mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
api/buffer: add "on_bytes" callback to nvim_buf_attach
This implements byte-resolution updates of buffer changes. Note: there is no promise that the buffer state is valid inside the callback!
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define NVIM_BUFFER_UPDATES_H
|
||||
|
||||
#include "nvim/buffer_defs.h"
|
||||
#include "nvim/extmark.h"
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "buffer_updates.h.generated.h"
|
||||
|
Reference in New Issue
Block a user