Using Kate with arduino-language-server (LSP)

The exact command will depend on the environment.
You can find details on the arduino-language-server github.
Thanks