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 authored and GitHub committed 2023-04-16 10:25:20 +02:00
1 parent 7691daa036
commit 6e01e8560e
1 file changed
+1 -1
+1 -1
View File
@@ -122,7 +122,7 @@ return {
},
{
"<leader>sS",
Util.telescope("lsp_workspace_symbols", {
Util.telescope("lsp_dynamic_workspace_symbols", {
symbols = {
"Class",
"Function",