3rd / image.nvim

🖼️ Bringing images to Neovim.
MIT License
1.03k stars 42 forks source link

Refresh images after modifications made #212

Open Aoxv98 opened 1 month ago

Aoxv98 commented 1 month ago

Thanks a lot for your efforts to develop this plugin. I benefit a lot. But I found a issue when using this plugin. I enabled the preview mode of neo-tree so that it will use 3rd/image plugin to preview images in the explorer. When I used it to preview the image in the explorer, it functions well. But after I change the figure (for example, use Python to generate the image file with the same name), it won't refresh. It still shows the previous state. How can I turn on the refresh configuration each time I want to preview the images in the explorer?

Thanks in advance!

3rd commented 1 month ago

Hey, can you try this branch? https://github.com/3rd/image.nvim/tree/feat-handle-source-image-external-changes It was ok for other people, I'm thinking of merging that in.