snacks.nvim/lua/snacks/image
Peter Cardenas cb6bf052da
fix(image): do not save remote image if fetch fails (#1915)
## Description

If fetching an image fails, when the buffer with the image is opened
again, the error message shown is for the `identify` command rather than
the `url` command. This is because the output of the `wget` or `curl`
command is saved to the file even if the fetching fails. Thus, when we
try to resolve it again, we think it's cached and read the file on the
`identify` step only to fail.

## Related Issue(s)

did not find any
2025-10-19 10:19:56 +02:00
..
buf.lua feat(image): proper inline rendering of math expressions. Closes #1318. Closes #1454 2025-03-01 08:01:11 +01:00
convert.lua fix(image): do not save remote image if fetch fails (#1915) 2025-10-19 10:19:56 +02:00
doc.lua fix(image): set winblend=0 for floatwin when use unicode placeholders (#1615) 2025-10-19 10:14:25 +02:00
image.lua feat(image): proper inline rendering of math expressions. Closes #1318. Closes #1454 2025-03-01 08:01:11 +01:00
init.lua feat(image): proper inline rendering of math expressions. Closes #1318. Closes #1454 2025-03-01 08:01:11 +01:00
inline.lua feat(image.inline): honor concealcursor and hide conceal when selecting lines. Closes #1478 2025-03-01 23:37:02 +01:00
placement.lua fix(image): only show anchor icon for inline images shown on the lines below. Closes #1479 2025-03-01 22:58:56 +01:00
terminal.lua fix(image.terminal): write queued terminal output on main 2025-02-24 11:27:39 +01:00
util.lua feat(compat): added svim, a compatibility layer for Neovim. Closes #1321 2025-02-20 06:59:44 +01:00