diff options
-rw-r--r-- | init.lua | 1 | ||||
-rw-r--r-- | lua/gabrielgio/dap.lua | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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("<F5>", ":lua require'dap'.continue()<CR>") key.nnoremap("<F10>", ":lua require'dap'.step_over()<CR>") |