aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators/gen_api_dispatch.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-06-01 08:19:41 -0700
committerGitHub <noreply@github.com>2024-06-01 08:19:41 -0700
commitbb6190bec5f18c1f9e2c1d29ef1f7cf7912ea625 (patch)
treea0305d97a7ea46c1c1a8aedba9c791e0ddc833d7 /src/nvim/generators/gen_api_dispatch.lua
parent9eb0426002696fba4a7c5b9cadd8799a8ae18e6a (diff)
downloadrneovim-bb6190bec5f18c1f9e2c1d29ef1f7cf7912ea625.tar.gz
rneovim-bb6190bec5f18c1f9e2c1d29ef1f7cf7912ea625.tar.bz2
rneovim-bb6190bec5f18c1f9e2c1d29ef1f7cf7912ea625.zip
refactor: move shared messages to errors.h #26214
Diffstat (limited to 'src/nvim/generators/gen_api_dispatch.lua')
-rw-r--r--src/nvim/generators/gen_api_dispatch.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/generators/gen_api_dispatch.lua b/src/nvim/generators/gen_api_dispatch.lua
index 62c99ce082..61c80a3d2e 100644
--- a/src/nvim/generators/gen_api_dispatch.lua
+++ b/src/nvim/generators/gen_api_dispatch.lua
@@ -306,6 +306,7 @@ local keysets_defs = assert(io.open(keysets_outputf, 'wb'))
-- so that the dispatcher can find the C functions that you are creating!
-- ===========================================================================
output:write([[
+#include "nvim/errors.h"
#include "nvim/ex_docmd.h"
#include "nvim/ex_getln.h"
#include "nvim/globals.h"