Document Neovim integration using clangd and ccls - #408
Conversation
|
@Amaan-Kazi , does it make sense to reflect in the docs the nvim-pio plugin by @batoaqaa? |
nvim-pio is a neovim plugin that is to neovim as platformio exetension to vs code, in addition it supports/integrates clangd lsp. nvim-pio aslo will install platformio if not installed, you can try/see nvim-pio sandbox video in nvim-pio github. |
Yes, we can make a section like "Community Plugins" I am currently only aware of these 2 Neovim plugins in relation to PlatformIO
I haven't had the chance to test out the plugin yet, but ill be doing so soon |
|
The nvim-pio plugin works pretty well overall From my testing, the plugin only overwrites some of the clangd setup when in a PlatformIO project so thats good since if someone has other C/C++ projects that dont use PlatformIO, then they will need to configure clangd anyway. nvim-platformio.lua works well as a simple Neovim wrapper over PlatformIO cli commands. the core features are functional so it seems stable. |
I contributed to nvim-platformio.lua which as you mentioned a perfect focused Neovim wrapper over PlatformIO cli commands. nvim-pio has gone further to do:
|
@ivankravets should I add both the plugins to a Community Plugins section? And I also went through platformio/platformio-core#5188
Is it possible to make SCons always write the full compiler paths in We can avoid overwriting |
This pull request adds documentation for using PlatformIO with Neovim.
Including Project Generation, Language Server Configuration and generating the compilation database.
In particular, i have documented the use of
--query-driverwhen using clangd, this is a requirement when cross compiling, especially for embedded toolchains.I can create a PR in the platformio-web repo to add Neovim to the list of IDEs on integration page