mirror of
https://github.com/mfussenegger/nvim-dap
synced 2024-09-16 14:24:03 +02:00
Point to available adapters if config references missing adapter
This commit is contained in:
parent
c18767707d
commit
5823403923
1 changed files with 2 additions and 2 deletions
|
@ -603,9 +603,9 @@ function M.run(config, opts)
|
|||
)
|
||||
elseif adapter == nil then
|
||||
notify(string.format(
|
||||
'The selected configuration references adapter `%s`, but dap.adapters.%s is undefined',
|
||||
'Config references missing adapter `%s`. Available are: %s',
|
||||
config.type,
|
||||
config.type
|
||||
table.concat(vim.tbl_keys(M.adapters), ", ")
|
||||
), vim.log.levels.ERROR)
|
||||
else
|
||||
notify(string.format(
|
||||
|
|
Loading…
Reference in a new issue