I'm trying to modify test runner plugin to do the following:When running test show a window with them (that part is already covered by the plugin)After all tests are done if there is no errors hide window.If there were errors leave the window open.I've written a shell script that exits if the exit code of the test runner is 0. But neovim still shows the buffer and waits for me to press any key to close it. How can I tell neovim to close buffer if the the shell session within it have ended?
How to close and and delete terminal buffer if programs exited?
neovim;terminal buffer