forked from Snoweuph/Dotfiles
13 lines
316 B
Lua
13 lines
316 B
Lua
return {
|
|
"leoluz/nvim-dap-go",
|
|
config = function()
|
|
local dir = require("utils.finder").find_project_dir(
|
|
"go.mod",
|
|
3,
|
|
{ "src", "app", "pkg" },
|
|
{ "test" },
|
|
true
|
|
)
|
|
require("dap-go").setup({ delve = { cwd = dir } })
|
|
end,
|
|
}
|