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