This commit is contained in:
Bruenor 2025-06-30 01:01:09 +02:00 committed by GitHub
commit a8b4f0925f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ return setmetatable({
end
local command = k:gsub("_$", "!")
local f = function(...)
return vim.api.nvim_command(table.concat(vim.tbl_flatten {command, ...}, " "))
return vim.api.nvim_command(table.concat(vim.iter {command, ...}:flatten():totable(), " "))
end
mt[k] = f
return f