diff --git a/lua/lazy/core/cache.lua b/lua/lazy/core/cache.lua index 5e34cf8..474779c 100644 --- a/lua/lazy/core/cache.lua +++ b/lua/lazy/core/cache.lua @@ -15,7 +15,7 @@ M.config = { -- The default is to disable on: -- * VimEnter: not useful to cache anything else beyond startup -- * BufReadPre: this will be triggered early when opening a file from the command line directly - disable_events = { "VimEnter", "BufReadPre" }, + disable_events = { "UIEnter", "BufReadPre" }, ttl = 3600 * 24 * 5, -- keep unused modules for up to 5 days } M.debug = false