Skip to content

Commit 30bdc9b

Browse files
committed
fix: check for lazy before setting loading time
1 parent 8790070 commit 30bdc9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/lazy/init.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ function M.setup(opts)
6262

6363
Loader.init_plugins()
6464

65-
Config.plugins["lazy.nvim"].loaded.time = lazy_delta
65+
if Config.plugins["lazy.nvim"] then
66+
Config.plugins["lazy.nvim"].loaded.time = lazy_delta
67+
end
6668
done = true
6769

6870
vim.cmd("do User LazyDone")

0 commit comments

Comments
 (0)