-
Notifications
You must be signed in to change notification settings - Fork 70
arduino-language-server exited with status 2: how to debug? #341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How did you solve this issue? If you are able to use this LSP server, then can you send me a sample configuration to add the LSP server? I will include that in the Wiki. |
It is not solved but I am suspicious that the problem is on the LS side and I opened an issue there after I have noticed a weird I also figured in their issue log that many are having issues with NeoVim and I read in one comment that:
Which I have no idea what does it mean but I don't know if it can relate to your lsp as well. Needless to say that if it gets solved I will let you know so we can enrich the Wiki of this VERY WELL DONE lsp client! :) EDIT: if you explain me how to debug such |
UPDATE: I managed to install a released version of the language server but still I have |
Can you add The support for semantic tokens is not related to this. |
Thanks! FYI: arduino/arduino-language-server#162 I tried to google the error by myself and it seems golang related and given that the lsp has been written in golang perhaps the problem may be on that side (I may be wrong ofc :) ) |
Can you try using the following args when registering the language server?
Each space separated command-line argument should be supplied as a separate List item to |
It went through! Thanks! I am making further tests now but I can already provide some progress (before the capabilities list was empty)
|
I am trying to trigger diagnostic and autocompletion but it is not working:
I may be wrong, but it looks like that other than |
I have installed this LSP:
https://github.com/arduino/arduino-language-server
and I tested it from command line with:
./arduino-language-server -cli-config /Users/ubaldot/Library/Arduino15/arduino-cli.yaml -cli /opt/homebrew/bin/arduino-cli -fqbn arduino:avr:uno
and the LSP appear to work.
However, when I try to use it in Vim I got a
arduino-language-server exited with status 2
and I don't know how to debug it.This is what I how I registered it:
ft 'arduino'
is defined through this plugin that I have installed: https://github.com/stevearc/vim-arduino.:LspServer show status
say that the LSP is running.Any hints?
The text was updated successfully, but these errors were encountered: