mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-25 02:09:00 +02:00
perf(cache): cache all lua files till UIEnter instead of VimEnter
This commit is contained in:
parent
4d77cf2efe
commit
77ff7beaa4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ M.config = {
|
||||||
-- The default is to disable on:
|
-- The default is to disable on:
|
||||||
-- * VimEnter: not useful to cache anything else beyond startup
|
-- * VimEnter: not useful to cache anything else beyond startup
|
||||||
-- * BufReadPre: this will be triggered early when opening a file from the command line directly
|
-- * 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
|
ttl = 3600 * 24 * 5, -- keep unused modules for up to 5 days
|
||||||
}
|
}
|
||||||
M.debug = false
|
M.debug = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue