fix(telescope): use dynamic workspace symbols

`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-13 12:10:36 -04:00
parent 7ce1b1519a
commit 44267b4704
No known key found for this signature in database
GPG key ID: C8D51D2157C919AC

View file

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