diff options
| author | glepnir <glephunter@gmail.com> | 2025-06-02 06:03:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-01 15:03:35 -0700 |
| commit | 5cfbc35aa8381f3e199be248fbb94b05c16f82ff (patch) | |
| tree | 3c000e09611e0b4fd1e37574904343a46a38df88 /runtime/lua/vim/_editor.lua | |
| parent | 80753332d1fe8035b54d1bd8936e222801620c36 (diff) | |
| download | rneovim-5cfbc35aa8381f3e199be248fbb94b05c16f82ff.tar.gz rneovim-5cfbc35aa8381f3e199be248fbb94b05c16f82ff.tar.bz2 rneovim-5cfbc35aa8381f3e199be248fbb94b05c16f82ff.zip | |
fix(api): add missing nargs field to user command Lua callbacks #34210
Problem: nvim_create_user_command() Lua callbacks were missing the documented nargs field in the options table passed to the callback function.
Solution: Add nargs field derivation from command argument type flags in nlua_do_ucmd(), using the same logic as nvim_parse_cmd().
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions