fix(nvim): properly use codelldb debugger with rustaceanvim

This commit is contained in:
Price Hiller 2023-11-21 09:22:06 -06:00
parent e250558e4f
commit 7e937d9164
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -103,12 +103,18 @@ return {
server = {
on_attach = on_attach,
},
dap = {
adapter = {
type = "server",
port = "${port}",
executable = {
command = "codelldb",
args = { "--port", "${port}" },
},
}
},
tools = {
executor = require("rustaceanvim.executors").termopen,
on_initialized = function()
vim.g.rustaceanvim.dap = { adaptper = require('rustaceanvim.dap').get_codelldb_adapter(codelldb_path,
liblldb_path) }
end,
hover_actions = {
replace_builtin_hover = false,
},