aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2025-06-09 21:50:26 +0800
committerGitHub <noreply@github.com>2025-06-09 06:50:26 -0700
commit76d0206342a2255fecf035b3d74253632b8cb86d (patch)
treeedd91f914ac9ffc34db422f1a37bc09dee5a0259 /runtime/lua/vim/provider/python.lua
parent6f632a8615e03847b05051f0783a768b81a30c3e (diff)
downloadrneovim-76d0206342a2255fecf035b3d74253632b8cb86d.tar.gz
rneovim-76d0206342a2255fecf035b3d74253632b8cb86d.tar.bz2
rneovim-76d0206342a2255fecf035b3d74253632b8cb86d.zip
fix(api): count parameter in nvim_parse_cmd, nvim_cmd #34253
Problem: - nvim_parse_cmd('copen', {}) returns count: 0, causing nvim_cmd to override default behavior - nvim_cmd({cmd = 'copen', args = {10}}, {}) fails with "Wrong number of arguments" Solution: - Only include count field in parse result when explicitly provided or non-zero - Interpret single numeric argument as count for count-only commands like copen
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions