added go dap

This commit is contained in:
Maximilian Wagner 2024-02-21 12:23:07 +01:00
parent ed2b8b2e6e
commit 104b841058

View File

@ -236,6 +236,10 @@ local default_plugins = {
"mfussenegger/nvim-dap",
dependencies = {
{
"leoluz/nvim-dap-go",
opts = {},
},
-- fancy UI for the debugger
{
@ -249,6 +253,7 @@ local default_plugins = {
config = function(_, opts)
-- setup dap config by VsCode launch.json file
-- require("dap.ext.vscode").load_launchjs()
require("dap-go").setup()
local dap = require("dap")
local dapui = require("dapui")
dapui.setup(opts)