mirror of https://github.com/folke/lazy.nvim.git
fix: check for lazy before setting loading time
This commit is contained in:
parent
8790070871
commit
30bdc9b5a1
|
@ -62,7 +62,9 @@ function M.setup(opts)
|
||||||
|
|
||||||
Loader.init_plugins()
|
Loader.init_plugins()
|
||||||
|
|
||||||
Config.plugins["lazy.nvim"].loaded.time = lazy_delta
|
if Config.plugins["lazy.nvim"] then
|
||||||
|
Config.plugins["lazy.nvim"].loaded.time = lazy_delta
|
||||||
|
end
|
||||||
done = true
|
done = true
|
||||||
|
|
||||||
vim.cmd("do User LazyDone")
|
vim.cmd("do User LazyDone")
|
||||||
|
|
Loading…
Reference in New Issue