Skip to content

Commit

Permalink
fixup! fixup! fixup! Add config providers; always load .vscode/launch…
Browse files Browse the repository at this point in the history
….json
  • Loading branch information
mfussenegger committed May 30, 2024
1 parent 425e110 commit b94edcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,10 @@ local function select_config_and_run(opts)
lazy.async.run(function()
local all_configs = {}
local co = coroutine.running()
for provider, config_provider in pairs(M.providers.configs) do
local providers = vim.tbl_keys(M.providers.configs)
table.sort(providers)
for _, provider in ipairs(providers) do
local config_provider = M.providers.configs[provider]
local configs = config_provider(bufnr)
if type(configs) == "thread" then
assert(
Expand Down

0 comments on commit b94edcf

Please sign in to comment.