diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-28 14:19:42 +0100 |
|---|---|---|
| committer | Lewis Russell <lewis6991@gmail.com> | 2026-09-28 14:43:14 +0100 |
| commit | b597af006fbb7c94c03ea9e7fa13cab7394b0501 (patch) | |
| tree | 0f318355ff5e27ba2168b779ac20f2e0dfc77a04 /src/nvim/lua/executor.c | |
| parent | 33b148752008aef20b460ebd61d71a3cd850a0da (diff) | |
| download | rneovim-b597af006fbb7c94c03ea9e7fa13cab7394b0501.tar.gz rneovim-b597af006fbb7c94c03ea9e7fa13cab7394b0501.tar.bz2 rneovim-b597af006fbb7c94c03ea9e7fa13cab7394b0501.zip | |
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
Diffstat (limited to 'src/nvim/lua/executor.c')
| -rw-r--r-- | src/nvim/lua/executor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |