summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-12-30 05:49:49 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-12-30 05:49:49 -0600
commitfef1dc068e6da87aaec65363a4806b04557ca8aa (patch)
treefac7d8d8ee81787968304e2508c27b09dab464b1 /lua/plugins
parent7e68a0a76941853d3d10025cc8447cedbd8442ee (diff)
add lsp references to telescope
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/telescope.lua1
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,
}