Skip to content

Commit

Permalink
feat: support custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
YogiPristiawan authored Apr 26, 2024
1 parent a7737b0 commit 03731c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dap-go.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ local function setup_go_configuration(dap, configs)
end

for _, config in ipairs(configs.dap_configurations) do
if config.type == "go" then
if config.type == "go" or config.type == "custom" then
table.insert(dap.configurations.go, config)
end
end
Expand Down

0 comments on commit 03731c5

Please sign in to comment.