edluffy / hologram.nvim

👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
MIT License
1.29k stars 31 forks source link

Bug fixes #3

Closed vhyrro closed 3 years ago

vhyrro commented 3 years ago

This small PR fixes an error that may occur on certain neovim versions when new_pipe is invoked without arguments. Also added some more intuitive error handling when an image cannot be located. Although it's not an ideal fix yet, it should at least give users an idea of what's going on :)

edluffy commented 3 years ago

Looks nice, thanks for the PR.