akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.37k stars 173 forks source link

refactor(terminal): re-use spawn function #461

Closed akinsho closed 1 year ago

akinsho commented 1 year ago

Refactors the open function to re-use spawn rather than essentially re-implement it.

akinsho commented 1 year ago

@jedrzejboczar as the initial author of the spawn functionality, can you see if this change breaks anything for you?

jedrzejboczar commented 1 year ago

@akinsho Everything seems to work fine for me with this change.