fix: env should be table

This commit is contained in:
wyj committed 2026-09-02 23:41:05 -04:00
1 parent 2ef9ffb97d
commit 3a1978af0f
2 files changed
+14 -1

No files matched your search

+7 -1
View File
@@ -41,7 +41,13 @@ M.envs = {}
M.windowrules = {}
local function collect_modules_prop(module, prop)
if module[prop] then
if not module[prop] then
return
end
if prop == "envs" then
M[prop] = utils.tbl_extend(M[prop], module[prop])
else
M[prop] = utils.list_extend(M[prop], module[prop])
end
end