mirror of
https://github.com/neovim/neovim.git
synced 2026-07-05 00:55:14 +00:00
Then we can just load metadata in C as a single msgpack blob. Which also can be used directly as binarly data, instead of first unpacking all the functions and ui_events metadata to immediately pack it again, which was a bit of a silly walk (and one extra usecase of `msgpack_rpc_from_object` which will get yak shaved in the next PR)
28 lines
667 B
C
28 lines
667 B
C
#pragma once
|
|
|
|
#include <stdint.h> // IWYU pragma: keep
|
|
|
|
#include "nvim/api/private/defs.h" // IWYU pragma: keep
|
|
#include "nvim/highlight_defs.h" // IWYU pragma: keep
|
|
#include "nvim/types_defs.h" // IWYU pragma: keep
|
|
#include "nvim/ui_defs.h" // IWYU pragma: keep
|
|
|
|
/// Keep in sync with UIExtension in ui_defs.h
|
|
EXTERN const char *ui_ext_names[] INIT( = {
|
|
"ext_cmdline",
|
|
"ext_popupmenu",
|
|
"ext_tabline",
|
|
"ext_wildmenu",
|
|
"ext_messages",
|
|
"ext_linegrid",
|
|
"ext_multigrid",
|
|
"ext_hlstate",
|
|
"ext_termcolors",
|
|
"_debug_float",
|
|
});
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "api/ui.h.generated.h"
|
|
# include "ui_events_remote.h.generated.h"
|
|
#endif
|