fix(nvim): correctly setup dap 😓

This commit is contained in:
Price Hiller 2023-08-26 18:00:44 -05:00
parent 6a3bb00926
commit 3535dbdcc4
No known key found for this signature in database

View File

@ -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,
},
},
}