diff --git a/config/init.lua b/config/init.lua index cfdc7c6..3ea87da 100644 --- a/config/init.lua +++ b/config/init.lua @@ -64,4 +64,5 @@ lspconfig.rust_analyzer.setup{} lspconfig.pylsp.setup{} -- lsp mappingsd -vim.keymap.set('n', ' +vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, opts) +vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts)