Closed mike-lloyd03 closed 2 weeks ago
Same here. Literally debugging the same problem right now. Everything seems to be working, but the buffer doesn't attach. I assume that arduino might require certain files, but not sure what else does it need apart from
./sketch.yaml
./test.ino
~/.arduino15/arduino-cli.yaml
Found this https://github.com/arduino/arduino-language-server/issues/187
Somebody says it is something broken in nvim 0.10, and 0.9.5 works well. Haven't tried this myself
Described the bug here https://github.com/arduino/arduino-language-server/issues/187#issuecomment-2179619062
It is not related to the nvim, but rather caused by the outdated library, which doesn't support new LSP capabilities added in nvim 0.10
You are correct. I downgraded to nvim 0.9.5 and the LS is working.
Kinda funny that we were having the same problem at the same time. Thanks for your help!
Description
I have followed all of the instructions for setting up
arduino-language-server
. But when I open an arduino file in nvim, the client does not attach.LspInfo:
The client is recognized but it will not attach to the file. LspStart does nothing.
LspLog
It looks like the language server outputs text on stderr. Is it possible that nvim is interpreting output on stderr as an error?
Relevant config:
It appears that the LSP is running: