mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 11:18:26 +00:00
fix(explorer.git): vim.schedule git updates
This commit is contained in:
parent
af968181af
commit
3aad761620
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ function M.update(cwd, opts)
|
||||||
end
|
end
|
||||||
M._update(cwd, ret)
|
M._update(cwd, ret)
|
||||||
if opts and opts.on_update then
|
if opts and opts.on_update then
|
||||||
opts.on_update()
|
vim.schedule(opts.on_update)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue