Skip to content

Commit ccdf65b

Browse files
committed
fix: Plugin.init implies lazy-loading
1 parent 869e6da commit ccdf65b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/lazy/core/plugin.lua

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ function M.update_state()
175175
or plugin.keys
176176
or plugin.ft
177177
or plugin.cmd
178+
or plugin.init
178179
plugin.lazy = lazy and true or false
179180
end
180181
if plugin.dir:find(Config.options.root) == 1 then

0 commit comments

Comments
 (0)