aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-02-26 18:00:46 +0100
committerbfredl <bjorn.linse@gmail.com>2024-02-28 11:00:38 +0100
commitde5cf09cf98e20d8d3296ad6933ff2741acf83f7 (patch)
tree138b11577f1896643fb593481a41c9b841be6362 /src/nvim/lua/executor.c
parent07b4b7524fc7faefb69e5c94d2512eb0807f0593 (diff)
downloadrneovim-de5cf09cf98e20d8d3296ad6933ff2741acf83f7.tar.gz
rneovim-de5cf09cf98e20d8d3296ad6933ff2741acf83f7.tar.bz2
rneovim-de5cf09cf98e20d8d3296ad6933ff2741acf83f7.zip
refactor(metadata): generate all metadata in lua
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)
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 3859dd922a..1a9bd026b5 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -15,6 +15,7 @@
#include "nvim/api/extmark.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
+#include "nvim/api/ui.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/change.h"