3rd / image.nvim

🖼️ Bringing images to Neovim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spamming error when in command-line-window

jonboh opened this issue · comments

commented

When an image is displayed and one opens the [Command Line] history (with q:) image.nvim throws a huge amount of errors until the command-line-window is closed.
image

It seems that the original error is this (which appears with some actions in the command-line-window):
image

In order to avoid the problem I think it would be enough to check getcmdwintype() and prevent issuing whatever is triggering the error when getcmdwintype()!=''. I'll try to submit a PR if it works :)