mirror of
https://github.com/norcalli/nvim-colorizer.lua.git
synced 2026-09-10 07:06:14 -04:00
fix(colorizer): replaced deprecated function tbl_flatten
This commit is contained in:
parent
bfc3dc559b
commit
a299361ac9
|
|
@ -96,7 +96,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(utils.flatten_table({command, ...}), " "))
|
||||
end
|
||||
mt[k] = f
|
||||
return f
|
||||
|
|
|
|||
Loading…
Reference in a new issue