Dotfiles/.config/nvim/lua/plugins/editor/debugging/debugging_go.lua
2024-05-31 20:47:56 +02:00

7 lines
225 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,
}