summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-07-05 13:53:44 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2022-07-18 16:42:35 +0200
commit9b20486a2956e2c21ed8b9509b6619cdde79135a (patch)
tree5673445bb5e3dc36ad1fa6909536d2464fcecb55
parent666604694021aa1dcc373d1292dfed57ad4991ba (diff)
nvim: telescope find lsp symbols
-rw-r--r--.config/nvim/lua/mappings.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua
index e0be18e..74f33b8 100644
--- a/.config/nvim/lua/mappings.lua
+++ b/.config/nvim/lua/mappings.lua
@@ -33,6 +33,8 @@ map('n', '<leader>fg', '<cmd>Telescope live_grep<cr>', opts)
map('n', '<leader>fb', '<cmd>Telescope buffers<cr>', opts)
map('n', '<leader>fh', '<cmd>Telescope help_tags<cr>', opts)
+map('n', '<leader>ds', '<cmd>Telescope lsp_document_symbols<cr>', opts)
+map('n', '<leader>ws', '<cmd>Telescope lsp_workspace_symbols<cr>', opts)
map('n', '<leader>gd', '<cmd>Telescope lsp_definitions<cr>', opts)
map('n', '<leader>gD', '<cmd>Telescope lsp_declarations<cr>', opts)
map('n', '<leader>gr', '<cmd>Telescope lsp_references<cr>', opts)