From b597af006fbb7c94c03ea9e7fa13cab7394b0501 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 28 Sep 2026 14:19:42 +0100 Subject: fix(api): correct Lua command and completion types Problem: Command inputs and parsed modifiers have different optional fields, and completion window IDs are annotated as floating-point values. Solution: Separate modifier input and return types, correct integer IDs, and update the metadata generators and their output. AI-assisted --- src/nvim/lua/executor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/lua/executor.c') diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index 29c31a4c82..a34f08a36c 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -116,7 +116,7 @@ typedef struct { } \ } -/// Pushes cmdmod_T as a table (Lua type: `vim.api.keyset.cmd_mods`) onto the stack. +/// Pushes cmdmod_T as a table (Lua type: `vim.api.keyset.cmd_mods_ret`) onto the stack. static void nlua_push_cmdmod(lua_State *lstate, const cmdmod_T *cmod) { lua_newtable(lstate); -- cgit