mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
perf: run cache autosave after loading
This commit is contained in:
parent
e6bbf92c77
commit
3ec5a2ce4c
2 changed files with 26 additions and 25 deletions
|
@ -27,6 +27,7 @@ M.defaults = {
|
|||
task = "✔ ",
|
||||
},
|
||||
},
|
||||
install_missing = true,
|
||||
git = {
|
||||
-- defaults for `Lazy log`
|
||||
log = { "-10" }, -- last 10 commits
|
||||
|
@ -67,6 +68,7 @@ function M.setup(opts)
|
|||
pattern = "VeryLazy",
|
||||
once = true,
|
||||
callback = function()
|
||||
require("lazy.core.cache").autosave()
|
||||
require("lazy.view").setup()
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue