Skip to content

Commit

Permalink
fix(manage): trigger LazySyncPre. Fixes #881
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 18, 2023
1 parent 67af46a commit 6163413
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/lazy/manage/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6163413

Please sign in to comment.