Skip to content

Commit 77ff7be

Browse files
committed
perf(cache): cache all lua files till UIEnter instead of VimEnter
1 parent 4d77cf2 commit 77ff7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/core/cache.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ M.config = {
1515
-- The default is to disable on:
1616
-- * VimEnter: not useful to cache anything else beyond startup
1717
-- * BufReadPre: this will be triggered early when opening a file from the command line directly
18-
disable_events = { "VimEnter", "BufReadPre" },
18+
disable_events = { "UIEnter", "BufReadPre" },
1919
ttl = 3600 * 24 * 5, -- keep unused modules for up to 5 days
2020
}
2121
M.debug = false

0 commit comments

Comments
 (0)