vimux
vimux copied to clipboard
Ignore 'pane already closed' error in `VimuxCloseOnExit`
I use Vimux for running vim-test, which uses vimux to spawn a new pane when running tests.
I want to automatically close the forked vimux tab when exiting nvim, so i set VimuxCloseOnExit.
However, if i already closed the pane (sometimes during a session i close the pane myself), i get an error when exiting nvim:
Error detected while processing VimLeave Autocommands for "*"..function <SNR>43_autoclose[2]..VimuxCloseRunner[2]..VimuxTmux[8]..VimLeave Autocommands for "*"..function <SNR>43_autoclose[2]..VimuxCloseRunner[2]..VimuxTmux:
E605: Exception not caught: Tmux command failed with message:can't find pane: %15^@
Is there a way to ignore this error? Can it be ignored by default? (i don't think this error is very useful when using VimuxCloseOnExit)
Thanks for the report!
This was resolved by #237