Kwdg@discuss.tchncs.detoC++@programming.dev•How do I tell clangd that I am writing C++20 code?
·
1 year agoIf you use meson or cmake, you can generate a compile_commands.json which you can link from the build dir into your source dir. If not you cam create a local config file for clangd https://stackoverflow.com/questions/73758291/is-there-a-way-to-specify-the-c-standard-of-clangd-without-recompiling-it
I got exactly the same result