Reset the actual vimspector, not a fresh one

This commit is contained in:
Ben Jackson 2019-07-24 17:16:56 +01:00
commit 17b85d2d72
2 changed files with 4 additions and 47 deletions

View file

@ -14,9 +14,6 @@ function! vimspector#test#setup#SetUpWithMappings( mappings ) abort
endfunction
function! vimspector#test#setup#ClearDown() abort
if exists( '*vimspector#internal#state#Reset' )
call vimspector#internal#state#Reset()
endif
endfunction
function! vimspector#test#setup#Reset() abort
@ -31,5 +28,9 @@ function! vimspector#test#setup#Reset() abort
call vimspector#test#signs#AssertSignGroupEmpty( 'VimspectorCode' )
call vimspector#ClearBreakpoints()
call vimspector#test#signs#AssertSignGroupEmpty( 'VimspectorBP' )
if exists( '*vimspector#internal#state#Reset' )
call vimspector#internal#state#Reset()
endif
endfunction