mirror of https://github.com/folke/lazy.nvim.git
fix(manage): trigger LazySyncPre. Fixes #881
This commit is contained in:
parent
67af46a7f5
commit
616341372d
|
@ -180,6 +180,8 @@ function M.sync(opts)
|
|||
opts.show = false
|
||||
end
|
||||
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "LazySyncPre", modeline = false })
|
||||
|
||||
local clean_opts = vim.deepcopy(opts)
|
||||
clean_opts.plugins = nil
|
||||
local clean = M.clean(clean_opts)
|
||||
|
|
Loading…
Reference in New Issue