mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
feat(image): better error handling + option to disable error notifications
This commit is contained in:
parent
5c0607e31a
commit
1adfd29af3
4 changed files with 93 additions and 17 deletions
|
@ -102,6 +102,7 @@ local defaults = {
|
|||
env = {},
|
||||
---@class snacks.image.convert.Config
|
||||
convert = {
|
||||
notify = true, -- show a notification on error
|
||||
---@type snacks.image.args
|
||||
mermaid = function()
|
||||
local theme = vim.o.background == "light" and "neutral" or "dark"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue