added .clangd file to ignore unknown compiler options in clangd.
This commit is contained in:
parent
be19d7b1c1
commit
d39248186f
5
neovim/.clangd
Normal file
5
neovim/.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…
Reference in a new issue