diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-01-19 14:08:29 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-01-19 14:08:29 +0100 |
commit | b4e54e30af06739a08428024aaa36938e79ba95b (patch) | |
tree | c3d3096a6c865cbc6e260ea96de3735e0d5f76a9 | |
parent | 73f8ec6c9ab2929bb392f0db5922045a9ad62107 (diff) | |
download | gabrielgio.lua-master.tar.gz gabrielgio.lua-master.tar.bz2 gabrielgio.lua-master.zip |
-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>") |