I use pio run -t compiledb
to generate a compilation database that clangd
can utilise. However, I noticed that the generated database does not include the path to unity.h
and hence I get linter errors in my editor (neovim) whenever I try to include unity.h
.
How do I ensure that this doesn’t happen?