Skip to content

Commit aecdaab

Browse files
committed
fix(loader): reset cache before installing plugins during startup. Fixes #803
1 parent 80c4dec commit aecdaab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/lazy/core/loader.lua

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function M.install_missing()
6969
break
7070
end
7171
end
72+
Cache.reset()
7273
require("lazy.manage").install({ wait = true, lockfile = true, clear = false })
7374
-- remove any installed plugins from indexed, so cache will index again
7475
for _, p in pairs(Config.plugins) do

0 commit comments

Comments
 (0)