Skip to content

Commit

Permalink
fix(plugin): work-around for Plugin.values error. Will add proper fix…
Browse files Browse the repository at this point in the history
… later. Fixes #1124
  • Loading branch information
folke committed Oct 16, 2023
1 parent 239f0fa commit 2270bbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/lazy/core/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,10 @@ function M.load()
Config.plugins[name]._ = plugin._
Config.plugins[name]._.dep = dep
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
Util.track()
Expand Down

0 comments on commit 2270bbb

Please sign in to comment.