snacks.nvim/lua
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
..
snacks fix(image): do not save remote image if fetch fails (#1915) 2025-10-19 10:19:56 +02:00
trouble/sources Revert "feat: test" 2025-02-14 22:13:38 +01:00