mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-09 17:04:36 +02:00
fix(lsp): there is no declaration in telescope, use vim.lsp (#78)
This commit is contained in:
parent
895c5d8dd0
commit
fe4b92492c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ function M.on_attach(client, buffer)
|
|||
self:map("<leader>cl", "LspInfo", { desc = "Lsp Info" })
|
||||
self:map("gd", "Telescope lsp_definitions", { desc = "Goto Definition" })
|
||||
self:map("gr", "Telescope lsp_references", { desc = "References" })
|
||||
self:map("gD", "Telescope lsp_declarations", { desc = "Goto Declaration" })
|
||||
self:map("gD", vim.lsp.buf.declaration, { desc = "Goto Declaration" })
|
||||
self:map("gI", "Telescope lsp_implementations", { desc = "Goto Implementation" })
|
||||
self:map("gt", "Telescope lsp_type_definitions", { desc = "Goto Type Definition" })
|
||||
self:map("K", vim.lsp.buf.hover, { desc = "Hover" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue