feat(image): show progress indicator when converting image files

This commit is contained in:
Folke Lemaitre 2025-02-17 23:56:55 +01:00
parent 8d073ccc0c
commit b65178b470
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
9 changed files with 108 additions and 33 deletions

View file

@ -40,7 +40,9 @@ function M.proc(opts, ctx)
end
if ctx.picker.opts.debug.proc then
Snacks.debug.cmd(Snacks.config.merge(opts, { group = true }))
vim.schedule(function()
Snacks.debug.cmd(Snacks.config.merge(opts, { group = true }))
end)
end
local sep = opts.sep or "\n"