diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index b63a311..578279c 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -743,6 +743,11 @@ local plugins = { command = "/home/plex/.local/bin/kitty", args = {}, } + dap.adapters.gdb = { + type = "executable", + command = "gdb", + args = { "-i", "dap" }, + } dap.adapters.codelldb = { type = "server", port = "30333", @@ -761,6 +766,7 @@ local plugins = { return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file") end, cwd = "${workspaceFolder}", + -- FIXME: perhaps we can put the stdio somewhere more practical stopOnEntry = false, }, } @@ -784,10 +790,10 @@ local plugins = { dapui.open {} end dap.listeners.before.event_terminated["dapui_config"] = function() - dapui.close {} + -- dapui.close {} end dap.listeners.before.event_exited["dapui_config"] = function() - dapui.close {} + -- dapui.close {} end end, },