mirror of https://github.com/folke/lazy.nvim.git
fix(commands): sync with plugins list should not delete those plugins. Fixes #475
This commit is contained in:
parent
15fe46a728
commit
0c980312fd
|
@ -174,7 +174,10 @@ function M.sync(opts)
|
|||
end)
|
||||
opts.show = false
|
||||
end
|
||||
local clean = M.clean(opts)
|
||||
|
||||
local clean_opts = vim.deepcopy(opts)
|
||||
clean_opts.plugins = nil
|
||||
local clean = M.clean(clean_opts)
|
||||
local install = M.install(opts)
|
||||
local update = M.update(opts)
|
||||
clean:wait(function()
|
||||
|
|
Loading…
Reference in New Issue