mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(cache): make ttl configurable
This commit is contained in:
parent
9837d5be7e
commit
4aa362e8dc
2 changed files with 3 additions and 2 deletions
|
@ -384,6 +384,7 @@ return {
|
|||
-- * 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" },
|
||||
ttl = 3600 * 24 * 5, -- keep unused modules for up to 5 days
|
||||
},
|
||||
reset_packpath = true, -- reset the package path to improve startup time
|
||||
rtp = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue