From 42b30ab408857c04f48232de35ca043f7a960583 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Wed, 9 Jul 2025 14:04:50 +0200 Subject: [PATCH] added marksman and gd shortcut --- lua/plugins/lspconfig.lua | 3 +++ 1 file changed, 3 insertions(+) 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 --