added .clangd file to ignore unknown compiler options in clangd.

This commit is contained in:
Gabe Venberg 2023-09-21 16:22:57 -05:00
parent be19d7b1c1
commit d39248186f

5
neovim/.clangd Normal file
View file

@ -0,0 +1,5 @@
# keeps clangd from choking when it sees a compiler flag for a different
# compiler. (sutch as when acting as an lsp for a project that uses GCC.)
CompileFlags:
Add: -Wno-unknown-warning-option
Remove: [-m*, -f*]