perf(cache): cache all lua files till UIEnter instead of VimEnter

This commit is contained in:
Folke Lemaitre 2023-01-02 09:39:28 +01:00
parent 4d77cf2efe
commit 77ff7beaa4
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -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