summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2024-10-12 18:48:05 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2024-10-12 18:48:05 -0600
commit6116adbd4920412224a345a84fa1699c73355091 (patch)
tree82ed3e585e476c84fe9aec81f8242b2ff9848d36 /lua
parent2c13a6639c337bbc9e2eaafa0e048cebb467c812 (diff)
chore: fix debugger, add keybind
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/gopher.lua3
-rw-r--r--lua/plugins/telescope.lua1
2 files changed, 3 insertions, 1 deletions
diff --git a/lua/plugins/gopher.lua b/lua/plugins/gopher.lua
index 7e5eb72..fb07ccf 100644
--- a/lua/plugins/gopher.lua
+++ b/lua/plugins/gopher.lua
@@ -18,7 +18,8 @@ return {
-- them here with mason, but my config is already a mess
require('gopher').setup(opts)
- require('gopher.dap').setup()
+ -- deprecated, setup `nvim-dap` manually or use https://github.com/leoluz/nvim-dap-go
+ -- require('gopher.dap').setup()
local nmap = function(keys, func, desc)
if desc then
diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua
index 7bb8ccf..7878714 100644
--- a/lua/plugins/telescope.lua
+++ b/lua/plugins/telescope.lua
@@ -43,5 +43,6 @@ return {
vim.keymap.set('n', '<leader>sg', ts_builtin.live_grep, { desc = '[s]earch by [g]rep' })
vim.keymap.set('n', '<leader>sd', ts_builtin.diagnostics, { desc = '[s]earch [d]iagnostics' })
vim.keymap.set('n', '<leader>sr', ts_builtin.lsp_references, { desc = '[s]earch [r]eferences' })
+ vim.keymap.set('n', '<leader>si', ts_builtin.lsp_implementations, { desc = '[s]earch [i]mplementations' })
end,
}