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:
{
name: 'arduino-language-server',
filetype: ['arduino'],
path: $HOME .. '/Documents/arduino-language-server/arduino-language-server',
args: ['-clangd /usr/bin/clangd',
'-cli-config /Users/ubaldot/Library/Arduino15/arduino-cli.yaml',
'-cli /opt/homebrew/bin/arduino-cli',
'-fqbn arduino:avr:uno']
}
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?
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:unoand the LSP appear to work.
However, when I try to use it in Vim I got a
arduino-language-server exited with status 2and 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 statussay that the LSP is running.Any hints?