vim.api.nvim_create_user_command("TestCommand", function(opts)
print(opts.count)
end, { count = 1 })
vim.keymap.set("n", "<C-x>", "<cmd> TestCommand <CR>")
This will always print 1
, even if I call the keybind with a number prefix. Is there a way to pass the count to the user command using the Lua API?