Skip to content

Commit

Permalink
restore nvim's support for running go test in a terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
bhcleek committed Jul 22, 2018
1 parent 7160001 commit 1fd57dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/go/test.vim
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ function! go#test#Test(bang, compile, ...) abort
endif
endif

if has('nvim') && go#config#TermEnabled()
call go#term#new(a:bang, ["go"] + args)
endif

if go#util#has_job() || has('nvim')
" use vim's job functionality to call it asynchronously
let job_options = {
Expand Down

0 comments on commit 1fd57dc

Please sign in to comment.