fix(manage): trigger LazySyncPre. Fixes #881

This commit is contained in:
Folke Lemaitre 2023-06-18 22:38:05 +02:00
parent 67af46a7f5
commit 616341372d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -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)