mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 21:36:45 +00:00
fix: always overwrite any plugin spec for lazy.nvim to manage itself
This commit is contained in:
parent
714bc0a136
commit
d46bc7795c
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue