I recently switched from ctags to clangd for better lsp support in neovim. Now clangd doesn't recognize my local include directories.
I tried the following .clangd files without success (with the first one at least the macros worked which is something)
CompileFlags:
Add:
- -I./include
- -I./lib
- -D_GNU_SOURCE
- -DSHELL="/bin/sh"
CompileFlags:
Add: [-D_GNU_SOURCE, -DSHELL="/bin/sh", -I./include, -I./lib]
the .clangd file is at the project root, but it just won't work. What gives?