Start to add a test, but it's hitting deleting buffer that's in use [NULL]...
This commit is contained in:
parent
f003d66d35
commit
e7fb49f03d
5 changed files with 71 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue