-
-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telescope lsp_workspace_symbols not functioning #568
Comments
Thanks for reporting. pyright expects a query. I have already a PR ready that prints a message in that case. I am about to merge that PR :) For now: |
Alright, that would make sense. However, in three LSPs I've used (tsserver, gopls, and pyright) I still get this issue even with In the past I called |
Welp... regardless your PR fixed the issue XD, thanks and ignore my last comment |
Can't comment for Good to hear that this fixes your issue :) |
btw the issue still exists for ccls. Same error as above |
@ranjithshegde yeah because this issue isn't fixable from our side.
So if i know that my lsp accepts an empty query like sumneko i just press enter again and if not i can type in my query |
I am thinking about a live grep version of Maybe @oberblastmeister async PR can make a |
Thanks. that worked like a charm. I just changed it to Live grep sounds nice! |
Please do, this is one of the major advantages of coc.nvim |
@ranjithshegde @eulertour |
It turns out most language servers return an empry list of symbols for an empty query (which tsserver was doing). See nvim-telescope/telescope.nvim#568 Fixed by nvim-telescope/telescope.nvim#705
Description
:Telescope lsp_workspace_symbols
not functioning.Expected Behavior
:Telescope lsp_workspace_symbols
launches the finder and displays the workspace symbols sent from the LSP.Actual Behavior
:Telescope lsp_workspace_symbols
has no effect; it is as if:Telescope lsp_workspace_symbols
is an unrecognized command. This is the case even when the LSP supports workspace symbols, e.g.:lua vim.lsp.buf.workspace_symbol()<CR>
works.Details
Reproduce
1.) Use simple test.vim config
2.) Go to a python project (or any other language/LSP if you prefer)
3.) Run
:Telescope lsp_workspace_symbols
Environment
Configuration
The text was updated successfully, but these errors were encountered: