From 972208d36a02f1035320069654d67b8d0ab8c3cc Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Tue, 12 Dec 2023 11:10:13 -0300 Subject: [PATCH] feat: add dap to nvim --- programs/nvim/lua/plugins/nvim-dap.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 programs/nvim/lua/plugins/nvim-dap.lua diff --git a/programs/nvim/lua/plugins/nvim-dap.lua b/programs/nvim/lua/plugins/nvim-dap.lua new file mode 100644 index 0000000..7f8214f --- /dev/null +++ b/programs/nvim/lua/plugins/nvim-dap.lua @@ -0,0 +1,14 @@ +return { + "mfussenegger/nvim-dap", + config = function (_, opts) + local dap = require("dap") + dap.adapters.codelldb = { + type = "server", + port = "${port}", + executable = { + command = "/nix/store/7hv4l0bkai8r6yi59aw6s43jyszwsd91-vscode-extension-vadimcn-vscode-lldb-1.9.2/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb", + args = {"--port", "${port}"}, + }, + } + end +}