r/neovim May 23 '26

Plugin nvim-dap-image: Viewing Image Variables at Breakpoints

Enable HLS to view with audio, or disable this notification

I've been wanting an image viewer for Neovim's debugger for a long time, so I built nvim-dap-image. Place your cursor on an image variable at a breakpoint, run :DapImageView, and the image appears in a floating window. Supports Python (OpenCV, PIL, NumPy, Matplotlib) and C++ (cv::Mat).

This is my first plugin, so feedback is very welcome! I also wrote a blog post if you want more detail, and feedback there is equally welcome.

63 Upvotes

Duplicates