feat: add dap to nvim
This commit is contained in:
parent
be954e42d8
commit
972208d36a
14
programs/nvim/lua/plugins/nvim-dap.lua
Normal file
14
programs/nvim/lua/plugins/nvim-dap.lua
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Reference in a new issue