mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46: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
|
||||
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…
Add table
Add a link
Reference in a new issue