added clangd configuration
This commit is contained in:
parent
1ec7065449
commit
ef342527a5
4 changed files with 72 additions and 0 deletions
5
nix/nvim/lsp/clangd
Normal file
5
nix/nvim/lsp/clangd
Normal 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*]
|
Loading…
Add table
Add a link
Reference in a new issue