mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: dependencies are opt=true by default if they only appear as a dep
This commit is contained in:
parent
5810635a26
commit
908b9adf9c
6 changed files with 128 additions and 26 deletions
|
@ -115,7 +115,7 @@ end
|
|||
|
||||
---@param opts? ManagerOpts
|
||||
function M.clean(opts)
|
||||
Plugin.update_state(true)
|
||||
Plugin.update_state({ clean = true })
|
||||
M.run({
|
||||
pipeline = { "fs.clean" },
|
||||
plugins = Config.to_clean,
|
||||
|
@ -123,7 +123,7 @@ function M.clean(opts)
|
|||
end
|
||||
|
||||
function M.clear()
|
||||
Plugin.update_state(true)
|
||||
Plugin.update_state({ clean = true })
|
||||
for _, plugin in pairs(Config.plugins) do
|
||||
plugin._.updated = nil
|
||||
plugin._.cloned = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue