Closed swalrus1 closed 3 years ago
I've tested
nvim-compe
,nvim-cmp
andcoq_nvim
.clangd
breaks with every one of them. So the issue seems to be in LSP engine
This is not a support channel for clangd or any other LSP server.
Client 1 quit with exit code 0 and signal 11
Expected behavior
Have you solved this problem? I'am facing the same situation now.
Have you solved this problem? I'am facing the same situation now.
No, unfortunately. It occurred rarely enough so I could tolerate it.
Description
When I use autocomplete engine in a project with configured
build
directory,clangd
client stops working sometimes.Observations:
nvim-compe
,nvim-cmp
andcoq_nvim
.clangd
breaks with every one of them. So the issue seems to be in LSP engine.coc.nvim
, on the other hand, seems to work fine, though I have barely tried it.build
directory with configured options to build the project withmake
. I'm not proficient enough withcmake
/make
to make further observations.clangd
breaking is inconsistent. I have encountered it only several times in a month of working with the mentioned project.Neovim version
Nvim-lspconfig version
No response
Operating system and version
EndeavourOS Linux x86_64, Kernel: 5.14.7-arch1-1
Affected language servers
clangd
Steps to reproduce
git clone https://gitlab.com/danlark/cpp-advanced-hse/
cd cpp-advanced-hse && mkdir build && cd build
cmake ..
nvim ../tasks/dungeon/rogue.cpp
std::
, type something and use autocomplete.I managed to reproduce the bug consistently this way. Here is an archive containing this repository with
cmake
already executed, in case it seems insecure for you to run it for a random project from the internet: project.tar.gzActual behavior
clangd
clilent gets disabled (no code inspections,:LspInfo
shows that '0 clients attached to this buffer'). Sometimes it prints this message at the bottom:Client 1 quit with exit code 0 and signal 11
Expected behavior
No response
Minimal config
Health check
LSP log
https://gist.github.com/S-Walrus/45237f4850bea5e2fa84ee5b201f22a9