Marko Korhonen
0ced314c90
All plugins are now in their own files with their lazy specifications and configurations. Also moved lazy initialization to init.lua because it is very compact now
34 lines
977 B
Lua
34 lines
977 B
Lua
return {
|
|
"mfussenegger/nvim-dap",
|
|
config = function()
|
|
local dap = require("dap")
|
|
|
|
dap.adapters.bashdb = {
|
|
type = "executable",
|
|
command = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/bash-debug-adapter",
|
|
name = "bashdb",
|
|
}
|
|
|
|
dap.configurations.sh = {
|
|
{
|
|
type = "bashdb",
|
|
request = "launch",
|
|
name = "Launch file",
|
|
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",
|
|
trace = true,
|
|
file = "${file}",
|
|
program = "${file}",
|
|
cwd = "${workspaceFolder}",
|
|
pathCat = "cat",
|
|
pathBash = "/bin/bash",
|
|
pathMkfifo = "mkfifo",
|
|
pathPkill = "pkill",
|
|
args = {},
|
|
env = {},
|
|
terminalKind = "integrated",
|
|
},
|
|
}
|
|
end,
|
|
}
|