Fix "Terminal not found." when using together with akinsho/toggleterm.nvim
akinsho/toggleterm.nvim will not list its terminal in buffer list.
And it will return directly in this if
So it will results in that the toggleterm.nvim's terminal will not be added.
Fix "Terminal not found." when using together with
akinsho/toggleterm.nvim
akinsho/toggleterm.nvim
will not list its terminal in buffer list. And it will return directly in this if So it will results in that the toggleterm.nvim's terminal will not be added.