Start to add a test, but it's hitting deleting buffer that's in use [NULL]...

This commit is contained in:
Ben Jackson 2021-04-04 15:08:05 +01:00
commit e7fb49f03d
5 changed files with 71 additions and 17 deletions

View file

@ -47,6 +47,16 @@ function! vimspector#internal#state#GetAPIPrefix() abort
return s:prefix
endfunction
function! vimspector#internal#state#TabClosed() abort
py3 << EOF
if ( '_vimspector_session' in globals() and _vimspector_session
and not _vimspector_session._HasUI() ):
_vimspector_session.Reset( interactive = False )
EOF
endfunction
" Boilerplate {{{
let &cpoptions=s:save_cpo
unlet s:save_cpo