mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-03-31 21:26:34 +00:00
fix(meta): rebuild dirty right after disable. See #1889
This commit is contained in:
parent
1c9ba37045
commit
d51cf69783
1 changed files with 1 additions and 2 deletions
|
@ -314,6 +314,7 @@ function M:fix_disabled()
|
|||
else
|
||||
self:disable(plugin)
|
||||
end
|
||||
self:rebuild()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -321,10 +322,8 @@ function M:fix_disabled()
|
|||
-- disable top-level plugins first, since they may have non-top-level frags
|
||||
-- that disable other plugins
|
||||
check(true)
|
||||
self:rebuild()
|
||||
-- then disable non-top-level plugins
|
||||
check(false)
|
||||
self:rebuild()
|
||||
return changes
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue