Skip to content

Commit

Permalink
feat: add keymap to search for symbols using telescope and lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
walissonsilva committed Sep 25, 2023
1 parent d3511f0 commit c305b34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/wals/plugins/lsp/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ return {
opts.desc = "Show documentation for what is under cursor"
keymap.set("n", "<leader>h", vim.lsp.buf.hover, opts) -- show documentation for what is under cursor

vim.keymap.set('n', '<leader>t', '<cmd>Telescope lsp_dynamic_workspace_symbols<CR>', opts)

opts.desc = "Restart LSP"
keymap.set("n", "<leader>rs", ":LspRestart<CR>", opts) -- mapping to restart lsp if necessary

Expand Down

0 comments on commit c305b34

Please sign in to comment.