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:
Ben Jackson 2020-11-30 10:19:02 +00:00
commit 8e2d352eb8
3 changed files with 18 additions and 5 deletions

View file

@ -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