Core and neovim / vim .. file not found

Hi
I am a first time user of platformIO and so far I like it.
I have install pio and its cli tools and i am ably to build and burn my project.
I am using nvim and ran into a bit of an issue with my lsp (i think)

Screenshot_2025-04-26_12-55-15

As you can see it is not finding stdlib.h …
I did however run pio run -t compiledb

ps I hope I am posting this in the correct category

stdlib.h is included in the compiler. If your LSP ignores the compiler path given to it, you’ll likely have to have to activate the COMPILATIONDB_INCLUDE_TOOLCHAIN feature so that the compiler’s include path will also be in the generated compile_commands.json:

See documentation

https://docs.platformio.org/en/latest/integration/compile_commands.html

Hi, Thank you for the info, Looks like a good starting place … unfortunately this has not solved my problem.