From c4bc87d310b7e9efbc942b8cef666a624398c576 Mon Sep 17 00:00:00 2001 From: Anthony Rose Date: Wed, 4 Dec 2024 11:57:12 +0000 Subject: [PATCH] Make gd work properly --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index e63b9bb..a660a4e 100644 --- a/init.lua +++ b/init.lua @@ -12,3 +12,5 @@ else end require'lspconfig'.gopls.setup{} + +vim.keymap.set("n", "gd", vim.lsp.buf.definition, { silent = true })