Skip to content

Commit

Permalink
coverage.vim: add echo message for GoCoverage
Browse files Browse the repository at this point in the history
* add echo message for GoCoverage
  • Loading branch information
812lcl authored and fatih committed Jun 29, 2017
1 parent 837143b commit 4fd1182
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/go/coverage.vim
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ function! go#coverage#Buffer(bang, ...) abort
let s:toggle = 1
let l:tmpname = tempname()

if get(g:, 'go_echo_command_info', 1)
echon "vim-go: " | echohl Identifier | echon "testing ..." | echohl None
endif

if go#util#has_job()
call s:coverage_job({
\ 'cmd': ['go', 'test', '-coverprofile', l:tmpname] + a:000,
Expand Down

0 comments on commit 4fd1182

Please sign in to comment.