mirror of https://github.com/folke/lazy.nvim.git
perf(cache): cache all lua files till UIEnter instead of VimEnter
This commit is contained in:
parent
4d77cf2efe
commit
77ff7beaa4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue