Add a reset command to undo all the UI and reset everything
This commit is contained in:
parent
6aecfb969b
commit
7600e1e652
7 changed files with 98 additions and 9 deletions
|
|
@ -19,16 +19,18 @@ let s:save_cpo = &cpo
|
|||
set cpo&vim
|
||||
" }}}
|
||||
|
||||
py3 << EOF
|
||||
from vimspector import debug_session
|
||||
_vimspector_session = debug_session.DebugSession()
|
||||
EOF
|
||||
|
||||
call vimspector#internal#state#Reset()
|
||||
|
||||
" TODO: Test function
|
||||
function! vimspector#Launch() abort
|
||||
py3 _vimspector_session.Start()
|
||||
endfunction
|
||||
|
||||
function! vimspector#Reset() abort
|
||||
py3 _vimspector_session.Reset()
|
||||
endfunction
|
||||
|
||||
function! vimspector#Restart() abort
|
||||
py3 _vimspector_session.Restart()
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue