11
submitted 8 months ago* (last edited 8 months ago) by j4k3@lemmy.world to c/neovim@programming.dev

Looking for a way to migrate from Arduino IDE to get everything in NeoVim, but I get lost in the weeds without a working example or reference. I'm wondering if this is actually practical and more than a novelty for anyone here.

top 5 comments
sorted by: hot top controversial new old
[-] vsouzas@lemmy.eco.br 4 points 8 months ago

I've used platformio and it works well. It can generate ‘compile_commands.json’ and clangd lsp works out of the box.

[-] PlexSheep@feddit.de 2 points 8 months ago

Is there a platformio neovim plugin?

[-] hollyberries@programming.dev 2 points 8 months ago

There is the official integration steps for vim it should work with nvim.

Disclaimer: I don't use vim or neovim often enough to confirm it works.

[-] redxef@feddit.de 4 points 8 months ago

I wrote a small program for the arduino nano 2 years ago, it isn't that fancy, a quickly hacked together led flash animation, but the Makefile works. You really just have to install the dependencies and adapt it for your project and it should work.

[-] vpklotar@lemmy.world 3 points 8 months ago

I've tried many times for a few years now to get this working. Even though I get platformio to create a compile_commands.json it still doesn't work very well. Thinks std::string is a uint_8 and so on. I've just given up on it and use VS Code to program the ESPs I work with. Use neovim for everything else.

this post was submitted on 13 Mar 2024
11 points (100.0% liked)

Neovim

2161 readers
1 users here now

founded 1 year ago
MODERATORS