Allow mappings to specify variables
This commit is contained in:
parent
f210d5d150
commit
1905556edd
2 changed files with 16 additions and 15 deletions
|
|
@ -22,11 +22,14 @@ set cpo&vim
|
|||
|
||||
call vimspector#internal#state#Reset()
|
||||
|
||||
" TODO: Test function
|
||||
function! vimspector#Launch() abort
|
||||
py3 _vimspector_session.Start()
|
||||
endfunction
|
||||
|
||||
function! vimspector#LaunchWithSettings( settings ) abort
|
||||
py3 _vimspector_session.Start( launch_variables = vim.eval( 'a:settings' ) )
|
||||
endfunction
|
||||
|
||||
function! vimspector#Reset() abort
|
||||
py3 _vimspector_session.Reset()
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue