From 2c86539313e98925d8794b9800b4f47828969ec3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 16 Apr 2022 23:07:24 +0100 Subject: [PATCH] feat(nvim): add mapping to go to implementation --- roles/neovim/files/lua/opdavies/lsp/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/neovim/files/lua/opdavies/lsp/init.lua b/roles/neovim/files/lua/opdavies/lsp/init.lua index 9815995..8916c61 100644 --- a/roles/neovim/files/lua/opdavies/lsp/init.lua +++ b/roles/neovim/files/lua/opdavies/lsp/init.lua @@ -41,6 +41,7 @@ local custom_attach = function(client) buf_nnoremap { "gD", vim.lsp.buf.declaration } buf_nnoremap { "gT", vim.lsp.buf.type_definition } buf_nnoremap { "gd", vim.lsp.buf.definition } + buf_nnoremap { "gi", vim.lsp.buf.implementation } buf_nnoremap { "rn", vim.lsp.buf.rename } buf_nnoremap { "rr", "LspRestart" } buf_nnoremap { "K", vim.lsp.buf.hover }