Skip to content

Commit

Permalink
fix: Plugin.init implies lazy-loading
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 14, 2022
1 parent 869e6da commit ccdf65b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazy/core/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function M.update_state()
or plugin.keys
or plugin.ft
or plugin.cmd
or plugin.init
plugin.lazy = lazy and true or false
end
if plugin.dir:find(Config.options.root) == 1 then
Expand Down

0 comments on commit ccdf65b

Please sign in to comment.