fix: updating provider configuration (#2187)

This commit is contained in:
yetone
2025-06-07 18:02:35 +08:00
committed by GitHub
parent b7959191a3
commit ac5dc900eb
4 changed files with 35 additions and 42 deletions

View File

@@ -1133,17 +1133,6 @@ function M.icon(string_with_icon, utf8_fallback)
end
end
function M.inherit(base, ...)
local children = { ... }
return setmetatable(base, {
__index = function(_, k)
for _, child in ipairs(children) do
if child[k] ~= nil then return child[k] end
end
end,
})
end
function M.deep_extend_with_metatable(behavior, ...)
local tables = { ... }
local base = tables[1]