Merge branch 'main' of https://git.akulij.ru/akulij/nvim-dots
This commit is contained in:
commit
0b034a4d17
@ -1,3 +1,33 @@
|
||||
return {
|
||||
'mfussenegger/nvim-dap'
|
||||
{
|
||||
'mfussenegger/nvim-dap',
|
||||
init = function()
|
||||
local dap = require("dap")
|
||||
-- dap.adapters.lldb = {
|
||||
-- type = "executable",
|
||||
-- command = "/nix/store/ydcx96xw2wi2bndiaanql1wb8dqmy60r-vscode-extension-vadimcn-vscode-lldb-1.10.0/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb --port 13000",
|
||||
-- name = "lldb",
|
||||
-- port = "13000",
|
||||
-- }
|
||||
dap.adapters.lldb = {
|
||||
type = "server",
|
||||
port = "${port}",
|
||||
executable = {
|
||||
command =
|
||||
"/nix/store/ydcx96xw2wi2bndiaanql1wb8dqmy60r-vscode-extension-vadimcn-vscode-lldb-1.10.0/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb",
|
||||
args = { "--port", "${port}" },
|
||||
},
|
||||
name = "lldb",
|
||||
}
|
||||
dap.configurations.rust = {
|
||||
{
|
||||
type = "lldb",
|
||||
request = "launch",
|
||||
program = function()
|
||||
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file')
|
||||
end,
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user