Closed zanglg closed 3 years ago
Yes it should support it, see Supported LSP methods.
If nothing appears it may be that your LSP server doesn't support that method. Let me know if it does support the method but the plugin still fails to print anything.
I'm using clangd with nvim-lsp, I notice clangd support workspace/symbol, but I can only search with a concrete symbol。 calling vim.lsp.buf.workspace_symbol() give me a pattern to type, not listing all the symbols.
But when you make a query the results are displayed in fzf right?
It's due to how Neovim LSP workspace symbol method works, see the doc:
workspace_symbol()
without argument, Neovim asks you for a queryworkspace_symbol
request to the LSP server with your queryUnfortunately you cannot call workspace_symbol()
without argument yet. So there isn't really a way to filter all symbols through FZF at the moment, sorry.
That's it. It is really not a nvim-lspfuzzy issue. closed. thanks again.
List all the workspace symbols, and searching on the fly.