vimterminal strategy does not unload buffer
chrisortman opened this issue · comments
When I run tests (ruby / rake) using the vimterminal strategy in vim 9 (both brew vim and macvim) the terminal window opens and runs the test. Pressing will close the terminal window but the terminal window remains in my buffer list.
Every test run creates a new buffer in the list and does not remove them.
This issue vim/vim#5768 is maybe a little similar or had some useful suggestions, didn't solve the problem.
Using :bd
instead of :q
in the strategy function does seem to work.