Fix local adapter specs
Somehow we lost the ability to define adapters in the local .vimspector.json, I think when GetConfigurations was added. Put that feature back.
This commit is contained in:
parent
4ac9785217
commit
8e2d352eb8
3 changed files with 18 additions and 5 deletions
|
|
@ -296,8 +296,8 @@ function! vimspector#GetConfigurations() abort
|
|||
return
|
||||
endif
|
||||
let configurations = py3eval(
|
||||
\ 'list( _vimspector_session.GetConfigurations()[ 1 ].keys() )'
|
||||
\ . ' if _vimspector_session else []' )
|
||||
\ 'list( _vimspector_session.GetConfigurations( {} )[ 1 ].keys() )'
|
||||
\ . ' if _vimspector_session else []' )
|
||||
return configurations
|
||||
endfunction
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue