fix(plugin): work-around for Plugin.values error. Will add proper fix later. Fixes #1124

This commit is contained in:
Folke Lemaitre 2023-10-16 18:11:02 +02:00
parent 239f0fa9c1
commit 2270bbbc48
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 4 additions and 0 deletions

View File

@ -556,6 +556,10 @@ function M.load()
Config.plugins[name]._ = plugin._ Config.plugins[name]._ = plugin._
Config.plugins[name]._.dep = dep Config.plugins[name]._.dep = dep
Config.plugins[name]._.super = super Config.plugins[name]._.super = super
-- FIXME: work-around for changes related to Plugin.values
for handler in pairs(Handler) do
Config.plugins[name][handler] = plugin[handler]
end
end end
end end
Util.track() Util.track()