diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-07-13 09:28:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-13 10:28:24 -0400 |
| commit | 25439dad7e2ba21ff2f78759c68be888a217342c (patch) | |
| tree | 537cc1ed5794be92e990b066fb3eac183fe83eda /runtime/lua/vim/provider/python.lua | |
| parent | e18820007f00541cb95b7ac188666486aaa0a8d9 (diff) | |
| download | rneovim-25439dad7e2ba21ff2f78759c68be888a217342c.tar.gz rneovim-25439dad7e2ba21ff2f78759c68be888a217342c.tar.bz2 rneovim-25439dad7e2ba21ff2f78759c68be888a217342c.zip | |
feat(api): relax contract, `opts` + rest params are optional #40581
Problem:
|api-contract| allows adding an optional trailing `opts` parameter, but
the dispatch generator still requires every parameter, so `opts` cannot
be omitted.
Solution:
Treat a trailing `Dict(...) *opts` parameter as optional in the generated
RPC and Lua dispatch wrappers.
Co-authored-by: Judit Novak <judit.novak@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions