diff options
author | Josh Rahm <rahm@google.com> | 2022-09-12 10:57:30 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-09-12 10:57:30 -0600 |
commit | fef78e339a10ac4bfcf973b8d14d6a759ec9d808 (patch) | |
tree | 76c92e54f8d1e5333e0e071005e48c52150a1304 /src/nvim/ui.h | |
parent | 24c75e4f7be4eb4052939e7d5db7721d88288604 (diff) | |
parent | fd70e2bff2440181f63fe124738cf2a025d1e6a5 (diff) | |
download | rneovim-fef78e339a10ac4bfcf973b8d14d6a759ec9d808.tar.gz rneovim-fef78e339a10ac4bfcf973b8d14d6a759ec9d808.tar.bz2 rneovim-fef78e339a10ac4bfcf973b8d14d6a759ec9d808.zip |
Merge remote-tracking branch 'upstream/master' into userreg
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index 7dd2f5bce3..9034e7b764 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -47,8 +47,6 @@ enum { typedef int LineFlags; -EXTERN ArenaMem ui_ext_fixblk INIT(= NULL); - struct ui_t { bool rgb; bool override; ///< Force highest-requested UI capabilities. @@ -71,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" |