feat(checker): defer checker to after VeryLazy to make sure nvim-notify and others are loaded

This commit is contained in:
Folke Lemaitre 2022-12-21 21:08:13 +01:00
parent 58f0876e81
commit fd1fbefc3d
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 3 additions and 1 deletions

View File

@ -163,7 +163,9 @@ function M.setup(spec, opts)
require("lazy.manage.reloader").enable()
end
if M.options.checker.enabled then
vim.defer_fn(function()
require("lazy.manage.checker").start()
end, 10)
end
end,
})