mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
feat(lua): vim.ui_attach to get ui events from lua
Co-authored-by: Famiu Haque <famiuhaque@protonmail.com>
This commit is contained in:
@@ -69,6 +69,11 @@ struct ui_t {
|
||||
void (*inspect)(UI *ui, Dictionary *info);
|
||||
};
|
||||
|
||||
typedef struct ui_event_callback {
|
||||
LuaRef cb;
|
||||
bool ext_widgets[kUIGlobalCount];
|
||||
} UIEventCallback;
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "ui.h.generated.h"
|
||||
|
||||
|
Reference in New Issue
Block a user