Skip to content

Commit

Permalink
fix(summary): accept jump argument in open (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktakayama authored Oct 5, 2021
1 parent dfea06d commit 7861d19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion autoload/ultest/summary.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ function! ultest#summary#jumpto() abort
call ultest#util#goToBuffer(s:buffer_name)
endfunction

function! ultest#summary#open() abort
function! ultest#summary#open(jump = v:false) abort
if !s:IsOpen()
call s:OpenNewWindow()
if a:jump
call ultest#summary#jumpto()
end
endif
endfunction

Expand Down

0 comments on commit 7861d19

Please sign in to comment.