diff --git a/lua/custom/lspconfig.lua b/lua/custom/lspconfig.lua index e5d9e26..71ca12c 100644 --- a/lua/custom/lspconfig.lua +++ b/lua/custom/lspconfig.lua @@ -40,7 +40,8 @@ local on_attach = function(_, bufnr) keymap.set("n", "g0", "lua vim.lsp.buf.document_symbol()", opts) -- keymap.set("n", "gr", "lua vim.lsp.buf.references()", opts) keymap.set("n", "gD", "lua vim.lsp.buf.declaration()", opts) -- got to declaration - keymap.set("n", "gd", "lua vim.lsp.buf.definition()", opts) -- see definition and make edits in window + -- keymap.set("n", "gd", "lua vim.lsp.buf.definition()", opts) -- see definition and make edits in window + keymap.set("n", "gd", "Telescope lsp_definitions", opts) -- see definition and make edits in window keymap.set("n", "gi", "lua vim.lsp.buf.implementation()", opts) -- go to implementation -- keymap.set("n", "l", "lua vim.lsp.buf.format()", opts) -- format code keymap.set("n", "l", smart_format, opts) -- format code