diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index c70e244..3c18be0 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -72,6 +72,8 @@ return { vim.keymap.set(mode, keys, func, { buffer = event.buf, desc = "LSP: " .. desc }) end + map("gd", require('telescope.builtin').lsp_definitions, '[G]oto [D]definition') + -- Rename the variable under your cursor. -- Most Language Servers support renaming across files, etc. map("grn", vim.lsp.buf.rename, "[R]e[n]ame") @@ -222,6 +224,7 @@ return { -- clangd = {}, -- gopls = {}, pyright = {}, + marksman = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs --