diff options
| author | Rob Pilling <robpilling@gmail.com> | 2025-11-26 05:12:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 21:12:39 -0800 |
| commit | 612b2e78508757be5b7a3ef0e9bf1ed0f0b27cd2 (patch) | |
| tree | b9d80f16f176634cefbd228a3ccd594f7a6027a1 /test/functional/vimscript/executable_spec.lua | |
| parent | 7e09fedf43fa191dcebbe131928aa8df3930888d (diff) | |
| download | rneovim-612b2e78508757be5b7a3ef0e9bf1ed0f0b27cd2.tar.gz rneovim-612b2e78508757be5b7a3ef0e9bf1ed0f0b27cd2.tar.bz2 rneovim-612b2e78508757be5b7a3ef0e9bf1ed0f0b27cd2.zip | |
feat(api): nvim_get_commands returns function fields #36415
Problem:
nvim_get_commands does not return callbacks defined for
"preview", "complete", or the command itself.
Solution:
- Return Lua function as "callback" field in a Lua context.
- Return "preview" function in a Lua context.
- BREAKING: Return "complete" as a function instead of a boolean.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions