From fd1fbefc3df2b8e92209ed932144edc49877c41e Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Wed, 21 Dec 2022 21:08:13 +0100 Subject: [PATCH] feat(checker): defer checker to after VeryLazy to make sure nvim-notify and others are loaded --- lua/lazy/core/config.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index 63bc99f..cff8108 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -163,7 +163,9 @@ function M.setup(spec, opts) require("lazy.manage.reloader").enable() end if M.options.checker.enabled then - require("lazy.manage.checker").start() + vim.defer_fn(function() + require("lazy.manage.checker").start() + end, 10) end end, })