Skip to content

Commit 7861d19

Browse files
authored
fix(summary): accept jump argument in open (#72)
1 parent dfea06d commit 7861d19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

autoload/ultest/summary.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@ function! ultest#summary#jumpto() abort
3333
call ultest#util#goToBuffer(s:buffer_name)
3434
endfunction
3535

36-
function! ultest#summary#open() abort
36+
function! ultest#summary#open(jump = v:false) abort
3737
if !s:IsOpen()
3838
call s:OpenNewWindow()
39+
if a:jump
40+
call ultest#summary#jumpto()
41+
end
3942
endif
4043
endfunction
4144

0 commit comments

Comments
 (0)