From f382d0c41bed4640c00be721e13b8e7355040555 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 15 Feb 2024 07:44:11 +0100 Subject: [PATCH] feat(nvim): add gt mapping (go to type definition) --- home-manager/neovim/lspconfig.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/neovim/lspconfig.lua b/home-manager/neovim/lspconfig.lua index af04c58..145117b 100644 --- a/home-manager/neovim/lspconfig.lua +++ b/home-manager/neovim/lspconfig.lua @@ -21,6 +21,7 @@ local on_attach = function(client, bufnr) nnoremap("gD", vim.lsp.buf.declaration) nnoremap("gd", telescope.lsp_definitions) + nnoremap("gt", telescope.lsp_type_definitions) nnoremap("gi", telescope.lsp_implementations) nnoremap("gr", telescope.lsp_references) nnoremap("K", vim.lsp.buf.hover)