Closed cigam closed 2 years ago
Okay i can't reproduce this
I did not try your config tho because its not really minimal. So much stuff like completion, gitsigns, isn't needed to reproduce this "bug" that you are experience.
Also your file_ignore_pattern
don't look good. try file_ignore_patterns = { "node%_modules", "%.git" },
and read :help telescope.defaults.file_ignore_pattern
Closing as stale and not reproducible.
Feel free to reopen if you still experience this issue
Description
I have LSP with clangd configured properly on using
compile_commands.json
and all of the other LSP functions are working ok.Trying to get document symbols through LSP or TreeSitter shows an empty picker, even though it seems that telescope sends it the data.
I tried debugging as further as I could but lost track when reached the window management code...
I'd be happy to continue debugging if someone can give me some guidance on where to look next
Neovim version
Operating system and version
macOS 11.5
checkhealth telescope
Steps to reproduce
git clone https://github.com/llvm/llvm-project.git
compile_commands.json
:cd llvm-project; mkdir build; cd build; cmake -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ../llvm
compile_commands.json
from the build directory to the llvm directorylib/LTO/LTO.cpp
) and run:Telescope lsp_document_symbols
Expected behavior
Picker with document symbols
Actual behavior
rpc_response.txt
Adding debug prints across telescope, I'm able to observe that the data is return and parsed correctly by telescope and is valid inside the
finder
construction. Dumping the table before callingsetmetatable
intelescope.nvim/lua/telescope/finders/async_static_finder.lua
looks ok, but that's where I lost track of the code...Added text file with RPC response
In simpler projects, clangd works ok
Minimal config