diff --git a/nvim/lua/themystery/plugins/dap.lua b/nvim/lua/themystery/plugins/dap.lua index 1800e05..ad40078 100644 --- a/nvim/lua/themystery/plugins/dap.lua +++ b/nvim/lua/themystery/plugins/dap.lua @@ -18,5 +18,18 @@ return { -- dapui keymaps vim.keymap.set("n", "dui", "lua require'dapui'.toggle()") + + + -- configure adapters + + -- c/c++ debugger + local dap = require("dap") + dap.adapters.cppdbg = { + id = "cppdbg", + type="executable", + command = vim.fn.stdpath("data") .. "/mason/bin/OpenDebugAD7" + } + + end }