From b4e54e30af06739a08428024aaa36938e79ba95b Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 19 Jan 2025 14:08:29 +0100 Subject: Sync --- init.lua | 1 + lua/gabrielgio/dap.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 97e7598..5baff8b 100644 --- a/init.lua +++ b/init.lua @@ -26,6 +26,7 @@ local pkgs = { "mfussenegger/nvim-dap", -- add dap support "nvim-neotest/nvim-nio", -- async support library "rcarriga/nvim-dap-ui", -- dap ui + "leoluz/nvim-dap-go", -- dap go "nvim-lua/plenary.nvim", -- base lib "nvim-telescope/telescope.nvim", -- telescope "nvim-telescope/telescope-file-browser.nvim", -- telescope file browser diff --git a/lua/gabrielgio/dap.lua b/lua/gabrielgio/dap.lua index c5059c6..4d55ca6 100644 --- a/lua/gabrielgio/dap.lua +++ b/lua/gabrielgio/dap.lua @@ -1,6 +1,9 @@ local dap = require("dap") local key = require("gabrielgio.key") local dapui = require("dapui") +local dapgo = require("dap-go") + +dapgo.setup() key.nnoremap("", ":lua require'dap'.continue()") key.nnoremap("", ":lua require'dap'.step_over()") -- cgit v1.2.3