fix(nvim): correctly setup dap 😓
This commit is contained in:
parent
6a3bb00926
commit
3535dbdcc4
@ -39,6 +39,7 @@ return {
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
{
|
||||
"mfussenegger/nvim-dap-python",
|
||||
@ -123,7 +124,7 @@ return {
|
||||
end,
|
||||
desc = "DAP: Run Last",
|
||||
},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
},
|
||||
config = function()
|
||||
require("dap.ext.vscode").load_launchjs()
|
||||
|
||||
@ -257,8 +258,7 @@ return {
|
||||
showDebugOutput = true,
|
||||
pathBashdb = vim.fn.stdpath("data")
|
||||
.. "/mason/packages/bash-debug-adapter/extension/bashdb_dir/bashdb",
|
||||
pathBashdbLib = vim.fn.stdpath("data")
|
||||
.. "/mason/packages/bash-debug-adapter/extension/bashdb_dir",
|
||||
pathBashdbLib = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/extension/bashdb_dir",
|
||||
trace = true,
|
||||
file = "${file}",
|
||||
program = "${file}",
|
||||
@ -274,5 +274,4 @@ return {
|
||||
}
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user