feat(nvim): add mapping to go to implementation
This commit is contained in:
parent
591cf8224f
commit
2c86539313
|
@ -41,6 +41,7 @@ local custom_attach = function(client)
|
||||||
buf_nnoremap { "<leader>gD", vim.lsp.buf.declaration }
|
buf_nnoremap { "<leader>gD", vim.lsp.buf.declaration }
|
||||||
buf_nnoremap { "<leader>gT", vim.lsp.buf.type_definition }
|
buf_nnoremap { "<leader>gT", vim.lsp.buf.type_definition }
|
||||||
buf_nnoremap { "<leader>gd", vim.lsp.buf.definition }
|
buf_nnoremap { "<leader>gd", vim.lsp.buf.definition }
|
||||||
|
buf_nnoremap { "<leader>gi", vim.lsp.buf.implementation }
|
||||||
buf_nnoremap { "<leader>rn", vim.lsp.buf.rename }
|
buf_nnoremap { "<leader>rn", vim.lsp.buf.rename }
|
||||||
buf_nnoremap { "<leader>rr", "<cmd>LspRestart<cr>" }
|
buf_nnoremap { "<leader>rr", "<cmd>LspRestart<cr>" }
|
||||||
buf_nnoremap { "K", vim.lsp.buf.hover }
|
buf_nnoremap { "K", vim.lsp.buf.hover }
|
||||||
|
|
Loading…
Reference in a new issue