feat(telescope): use the new dynamic workspace symbols (#577)

`lsp_workspace_symbols` may fail or return nothing when query is empty.
Use the new `lsp_dynamic_workspace_symbols` to dynamically query symbols
in the workspace.

Related: https://github.com/nvim-telescope/telescope.nvim/issues/964
Fixes: https://github.com/LazyVim/LazyVim/issues/576
This commit is contained in:
Ayman Bagabas 2023-04-16 01:25:20 -07:00 committed by GitHub
parent 7691daa036
commit 6e01e8560e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ return {
}, },
{ {
"<leader>sS", "<leader>sS",
Util.telescope("lsp_workspace_symbols", { Util.telescope("lsp_dynamic_workspace_symbols", {
symbols = { symbols = {
"Class", "Class",
"Function", "Function",