Nvim: use telescope for lsp definitions

This commit is contained in:
Marko Korhonen 2023-09-29 09:03:17 +03:00
parent 2cd94ee65f
commit 38097407cd
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -68,7 +68,7 @@ function m.map_keys()
require("which-key").register({
g = {
name = "Go to",
d = { vim.lsp.buf.definition, "Definition" },
d = { telescope_builtin.lsp_definitions, "Definition" },
D = { vim.lsp.buf.declaration, "Declaration" },
i = { telescope_builtin.lsp_implementations, "Implementation" },
r = { telescope_builtin.lsp_references, "References" },