MaskRay / ccls

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Apache License 2.0
3.73k stars 255 forks source link

I'm very confused about this question, it's about ccls or neovim built in LSP? #836

Open doupongzeng opened 2 years ago

doupongzeng commented 2 years ago

I report a issue in neovim repository, lsp: ccls NO_RESULT_CALLBACK_FOUND on init #15844, but I did't get effective help. And I found some others had same questions, but l really don't know the direction to solve this problem. So, anyone can help?

nimaipatel commented 2 years ago

Were you able to find a solution to this? I'm facing the same issues.

I'm also trying to make CCLS work with an ESP IDF project.

nimaipatel commented 2 years ago

For anyone still looking for a solution, try using https://github.com/p00f/clangd_extensions.nvim instead of manually setting up ccls or clangd in lspconfig. It just works somehow and also adds many other useful features. image

fzhzhen1987 commented 1 year ago

for now, the issues how to fix? any ideas?

fzhzhen1987 commented 1 year ago

working on my case check here https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#ccls copy the config to my lua file then NO error messages

MarcelRobitaille commented 10 months ago

Same problem for ESP. I am trying to get it to work with platformio. If I use an ESP board, I get a bunch of failed to index errors in the log and NO_RESULT_CALLBACK_FOUND in vim. If I change my platformio.ini to a different board, everything works fine. It's something to do with the esp.

The compiler is toolchain-xtensa/bin/xtensa-lx106-elf-g++ vs toolchain-gccarmnoneeabi@1.70201.0/bin/arm-none-eabi-g++.

I hope we can get some input from the author.