Skip to content

Commit

Permalink
feat: include the magick error in the "rock not found" message
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd committed Mar 27, 2024
1 parent 0dd8bdb commit 13f56f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/image/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ api.setup = function(options)

-- check that magick is available
if not magick.has_magick then
vim.api.nvim_err_writeln("image.nvim: magick rock not found, please install it and restart your editor")
vim.api.nvim_err_writeln(
"image.nvim: magick rock not found, please install it and restart your editor. Error: "
.. vim.inspect(magick.magick)
)
return
end

Expand Down

0 comments on commit 13f56f4

Please sign in to comment.