diff options
| author | glepnir <glephunter@gmail.com> | 2026-07-11 08:34:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-10 20:34:08 -0400 |
| commit | 59dbca9b0c2eb12b7cd4432407c5bff6a1b32228 (patch) | |
| tree | 52fed0164225f6468e759843a2eff5a42ab9439a /test/functional/vimscript/executable_spec.lua | |
| parent | 784765cb73940adb4ca7ca1e91ff96d22d91351d (diff) | |
| download | rneovim-59dbca9b0c2eb12b7cd4432407c5bff6a1b32228.tar.gz rneovim-59dbca9b0c2eb12b7cd4432407c5bff6a1b32228.tar.bz2 rneovim-59dbca9b0c2eb12b7cd4432407c5bff6a1b32228.zip | |
fix(api): nvim_cmd() "args" type too narrow #40670
Problem: nvim_cmd() accepts number/boolean in args and converts them
to strings, but the keyset declares ArrayOf(String).
Solution: use ArrayOf(Union(Integer, String, Boolean)) and wrap union
types in parens when generating array annotations.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions