added clangd configuration

This commit is contained in:
Gabe Venberg 2024-03-22 12:52:12 -05:00
parent 1ec7065449
commit ef342527a5
4 changed files with 72 additions and 0 deletions

5
nix/nvim/lsp/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*]