Skip to content

Commit b94edcf

Browse files
committed
fixup! fixup! fixup! Add config providers; always load .vscode/launch.json
1 parent 425e110 commit b94edcf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lua/dap.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,10 @@ local function select_config_and_run(opts)
461461
lazy.async.run(function()
462462
local all_configs = {}
463463
local co = coroutine.running()
464-
for provider, config_provider in pairs(M.providers.configs) do
464+
local providers = vim.tbl_keys(M.providers.configs)
465+
table.sort(providers)
466+
for _, provider in ipairs(providers) do
467+
local config_provider = M.providers.configs[provider]
465468
local configs = config_provider(bufnr)
466469
if type(configs) == "thread" then
467470
assert(

0 commit comments

Comments
 (0)