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
|
||||
Util.track("spec")
|
||||
local spec = M.spec()
|
||||
if not spec.plugins["lazy.nvim"] then
|
||||
spec:add({ "folke/lazy.nvim", lazy = false })
|
||||
end
|
||||
|
||||
-- add ourselves
|
||||
spec.plugins["lazy.nvim"] = nil
|
||||
spec:add({ "folke/lazy.nvim", lazy = true })
|
||||
|
||||
Config.plugins = spec.plugins
|
||||
Util.track()
|
||||
|
||||
|
|
Loading…
Reference in New Issue