diff --git a/lua/dap-go.lua b/lua/dap-go.lua index 8e20572..a10d7b2 100644 --- a/lua/dap-go.lua +++ b/lua/dap-go.lua @@ -125,6 +125,10 @@ local function setup_go_configuration(dap, configs) }, } + if dap.configurations.go == nil then + dap.configurations.go = {} + end + for _, config in ipairs(common_debug_configs) do table.insert(dap.configurations.go, config) end