mirror of https://github.com/folke/lazy.nvim.git
fix: always overwrite any plugin spec for lazy.nvim to manage itself
This commit is contained in:
parent
714bc0a136
commit
d46bc7795c
|
@ -215,9 +215,11 @@ function M.load()
|
||||||
-- load specs
|
-- load specs
|
||||||
Util.track("spec")
|
Util.track("spec")
|
||||||
local spec = M.spec()
|
local spec = M.spec()
|
||||||
if not spec.plugins["lazy.nvim"] then
|
|
||||||
spec:add({ "folke/lazy.nvim", lazy = false })
|
-- add ourselves
|
||||||
end
|
spec.plugins["lazy.nvim"] = nil
|
||||||
|
spec:add({ "folke/lazy.nvim", lazy = true })
|
||||||
|
|
||||||
Config.plugins = spec.plugins
|
Config.plugins = spec.plugins
|
||||||
Util.track()
|
Util.track()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue