Dotfiles/.config/nvim/lua/plugins/editor/debugging/debugging_go.lua

14 lines
316 B
Lua
Raw Normal View History

2024-05-30 14:31:02 +00:00
return {
2024-06-02 17:45:00 +00:00
"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,
2024-05-30 14:31:02 +00:00
}