diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-12-30 05:49:49 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-12-30 05:49:49 -0600 |
commit | fef1dc068e6da87aaec65363a4806b04557ca8aa (patch) | |
tree | fac7d8d8ee81787968304e2508c27b09dab464b1 /lua/plugins | |
parent | 7e68a0a76941853d3d10025cc8447cedbd8442ee (diff) |
add lsp references to telescope
Diffstat (limited to 'lua/plugins')
-rw-r--r-- | lua/plugins/telescope.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 0961b38..60084fb 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -41,5 +41,6 @@ return { vim.keymap.set('n', '<leader>sw', ts_builtin.grep_string, { desc = '[S]earch current [W]ord' }) vim.keymap.set('n', '<leader>sg', ts_builtin.live_grep, { desc = '[S]earch by [G]rep' }) vim.keymap.set('n', '<leader>sd', ts_builtin.diagnostics, { desc = '[S]earch [D]iagnostics' }) + vim.keymap.set('n', '<leader>sr', ts_builtin.lsp_references, { desc = '[S]earch [R]eferences' }) end, } |