Originally Posted by 10leej
I want to actually use multiple config files on the same config table. So Clamsoda's response was what I was looking for pretty much.
|
You can also use one "config" table and insert things into it from other files:
Code:
local _, ns = ...
ns.config = {
this = 5,
that = true,
other = "thing",
}
Code:
local _, ns = ...
ns.config.x = 42
ns.config.y = 50