mirror of
https://github.com/neovim/neovim.git
synced 2026-01-20 04:01:15 +10:00
Problem: A command defined with `nargs="?"` returns `fargs={""}` to
a Lua callback when executed with no arguments, which is inconsistent
with how`nargs="*"` behaves.
Solution: Pass `fargs={}` for no argument with `nargs="?"` as well.
15 KiB
15 KiB