platformio/platformio-core

Neovim + Arduino + PlatformIO

Open

#5188 opened on Jun 24, 2025

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Python (7,329 stars) (791 forks)batch import
help wantedintegration

Description

Hello,

I am working on a project that uses the arduino framework, and I am having issues running clangd/arduino-language-server LSP's on my .ino project file.

This may be the completely wrong place to post such questions but maybe someone here has a solution?

The problem lies with needing to run the arduino cli in order to get lsp support for an .ino file that contains arduino specific code, that is not available in the pio cli.

This forum post perfectly outlines my issue: https://community.platformio.org/t/using-arduino-language-server-with-platformio-in-neovim-possible/44134

This is the error I get upon trying to load the arduino language server [START][2025-06-24 09:11:36] LSP logging initiated [ERROR][2025-06-24 09:11:36] ...p/_transport.lua:36 "rpc" "arduino-language-server" "stderr" "09:11:36.503010 Path to ArduinoCLI config file must be set.\n"

Contributor guide