1
0
Fork 0
codesnap.nvim/lua/plugin-name/utils/table.lua

18 lines
235 B
Lua

local table_utils = {}
function table_utils.assign(t, props)
for k, v in pairs(props) do
t[k] = v
end
end
function table_utils.merge(t1, t2)
for k, v in pairs(t2) do
t1[k] = v
end
return t1
end
return table_utils