mirror of https://github.com/folke/lazy.nvim.git
fix(loader): reset cache before installing plugins during startup. Fixes #803
This commit is contained in:
parent
80c4decc32
commit
aecdaab6a6
|
@ -69,6 +69,7 @@ function M.install_missing()
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Cache.reset()
|
||||||
require("lazy.manage").install({ wait = true, lockfile = true, clear = false })
|
require("lazy.manage").install({ wait = true, lockfile = true, clear = false })
|
||||||
-- remove any installed plugins from indexed, so cache will index again
|
-- remove any installed plugins from indexed, so cache will index again
|
||||||
for _, p in pairs(Config.plugins) do
|
for _, p in pairs(Config.plugins) do
|
||||||
|
|
Loading…
Reference in New Issue