diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 16eb486..09ae873 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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)