feat: can cancel out of progress window

This commit is contained in:
Steven Arcangeli 2023-03-28 13:48:15 -07:00
parent 9871ca9737
commit 273c2cecbf
7 changed files with 128 additions and 58 deletions

View file

@ -532,7 +532,7 @@ M.render_buffer_async = function(bufnr, opts, callback)
if not preserve_undo then
vim.bo[bufnr].undolevels = vim.api.nvim_get_option("undolevels")
end
util.render_centered_text(bufnr, { "Error: " .. message })
util.render_text(bufnr, { "Error: " .. message })
if callback then
callback(message)
else