fix(nvim): proper debugging with rust-tools

This commit is contained in:
Price Hiller 2022-10-17 22:27:05 -05:00
parent b03e2af598
commit b58be4cf8a

View File

@ -21,14 +21,12 @@ local opts = {
}
local rust_tools = require("rust-tools")
local codelldb_path = vim.fn.stdpath("data") .. "/mason/bin/codelldb"
local liblldb_path = vim.fn.stdpath("data") .. "/mason/packages/codelldb/extension/lldb/lib/liblldb.so"
local rustopts = {
server = opts,
dap = {
adapter = {
type = "executable",
command = "lldb-vscode",
name = "rt_lldb",
},
adapter = require("rust-tools.dap").get_codelldb_adapter(codelldb_path, liblldb_path),
},
tools = {
-- how to execute terminal commands