Skip to content

Commit 2270bbb

Browse files
committed
fix(plugin): work-around for Plugin.values error. Will add proper fix later. Fixes #1124
1 parent 239f0fa commit 2270bbb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/lazy/core/plugin.lua

+4
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,10 @@ function M.load()
556556
Config.plugins[name]._ = plugin._
557557
Config.plugins[name]._.dep = dep
558558
Config.plugins[name]._.super = super
559+
-- FIXME: work-around for changes related to Plugin.values
560+
for handler in pairs(Handler) do
561+
Config.plugins[name][handler] = plugin[handler]
562+
end
559563
end
560564
end
561565
Util.track()

0 commit comments

Comments
 (0)