Merge pull request #17 from stuartmackey/bugfix/use-goto-terminal

This was using the old GotoBuffer rather than the new Harpoon_GotoTer…
This commit is contained in:
ThePrimeagen 2021-03-03 12:51:44 -07:00 committed by GitHub
commit a0ba99f267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ fun! Harpoon_SendTerminalCommand(ctrlId, command)
let contents = g:win_ctrl_buf_list[a:ctrlId]
if type(l:contents) != v:t_list
echo "No terminal created, sorry for not creating this in the background..."
call GotoBuffer(a:ctrlId)
call Harpoon_GotoTerminal(a:ctrlId)
end
let contents = g:win_ctrl_buf_list[a:ctrlId]
if type(l:contents) != v:t_list