mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix(loader): reset cache before installing plugins during startup. Fixes #803
This commit is contained in:
parent
80c4decc32
commit
aecdaab6a6
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ function M.install_missing()
|
|||
break
|
||||
end
|
||||
end
|
||||
Cache.reset()
|
||||
require("lazy.manage").install({ wait = true, lockfile = true, clear = false })
|
||||
-- remove any installed plugins from indexed, so cache will index again
|
||||
for _, p in pairs(Config.plugins) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue