fix(explorer.git): vim.schedule git updates

This commit is contained in:
Folke Lemaitre 2025-02-04 19:02:34 +01:00
parent af968181af
commit 3aad761620
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -82,7 +82,7 @@ function M.update(cwd, opts)
end
M._update(cwd, ret)
if opts and opts.on_update then
opts.on_update()
vim.schedule(opts.on_update)
end
end