Skip to content

Commit

Permalink
Merge pull request nvim-lua#404 from e-aakash/lsp-goto-implementation
Browse files Browse the repository at this point in the history
Use telescope for goto implementation
  • Loading branch information
feoh authored Sep 7, 2023
2 parents 3fecc5d + b57c68b commit 71cd925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 71cd925

Please sign in to comment.