feat(nvim): add gt mapping (go to type definition)
This commit is contained in:
parent
bfc8ac40ce
commit
f382d0c41b
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ local on_attach = function(client, bufnr)
|
||||||
|
|
||||||
nnoremap("gD", vim.lsp.buf.declaration)
|
nnoremap("gD", vim.lsp.buf.declaration)
|
||||||
nnoremap("gd", telescope.lsp_definitions)
|
nnoremap("gd", telescope.lsp_definitions)
|
||||||
|
nnoremap("gt", telescope.lsp_type_definitions)
|
||||||
nnoremap("gi", telescope.lsp_implementations)
|
nnoremap("gi", telescope.lsp_implementations)
|
||||||
nnoremap("gr", telescope.lsp_references)
|
nnoremap("gr", telescope.lsp_references)
|
||||||
nnoremap("K", vim.lsp.buf.hover)
|
nnoremap("K", vim.lsp.buf.hover)
|
||||||
|
|
Loading…
Reference in a new issue