Allow forcing selection from the menu with <leader>F5

This commit is contained in:
Ben Jackson 2021-03-05 21:09:39 +00:00
commit 32360236ff
3 changed files with 11 additions and 3 deletions

View file

@ -41,11 +41,11 @@ function! s:Enabled() abort
return s:enabled
endfunction
function! vimspector#Launch() abort
function! vimspector#Launch( ... ) abort
if !s:Enabled()
return
endif
py3 _vimspector_session.Start()
py3 _vimspector_session.Start( *vim.eval( 'a:000' ) )
endfunction
function! vimspector#LaunchWithSettings( settings ) abort