aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Patti <feoh@feoh.org>2023-09-07 02:29:31 -0400
committerGitHub <noreply@github.com>2023-09-07 02:29:31 -0400
commit6453352e25e24706c3061c1ff4490fc3cf6e5319 (patch)
tree46d58bc318801a72892864884239250e46a47536
parentc010cc71d59390bb1e95790c316e76f9bc5fcb62 (diff)
parent1283a0bbe7424b44a38dc983f1ba0fbe33e80978 (diff)
Merge pull request #404 from e-aakash/lsp-goto-implementation
Use telescope for goto implementation
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 834baf4..ea330eb 100644
--- a/init.lua
+++ b/init.lua
@@ -415,7 +415,7 @@ local on_attach = function(_, bufnr)
nmap('gd', vim.lsp.buf.definition, '[G]oto [D]efinition')
nmap('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences')
- nmap('gI', vim.lsp.buf.implementation, '[G]oto [I]mplementation')
+ nmap('gI', require('telescope.builtin').lsp_implementations, '[G]oto [I]mplementation')
nmap('<leader>D', vim.lsp.buf.type_definition, 'Type [D]efinition')
nmap('<leader>ds', require('telescope.builtin').lsp_document_symbols, '[D]ocument [S]ymbols')
nmap('<leader>ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols')