From fef1dc068e6da87aaec65363a4806b04557ca8aa Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 30 Dec 2023 05:49:49 -0600 Subject: add lsp references to telescope --- lua/plugins/telescope.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua') 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', 'sw', ts_builtin.grep_string, { desc = '[S]earch current [W]ord' }) vim.keymap.set('n', 'sg', ts_builtin.live_grep, { desc = '[S]earch by [G]rep' }) vim.keymap.set('n', 'sd', ts_builtin.diagnostics, { desc = '[S]earch [D]iagnostics' }) + vim.keymap.set('n', 'sr', ts_builtin.lsp_references, { desc = '[S]earch [R]eferences' }) end, } -- cgit v1.2.3-70-g09d2