From d39248186f7c35a0c46e4a76f92c9a32de7e655c Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Thu, 21 Sep 2023 16:22:57 -0500 Subject: [PATCH] added .clangd file to ignore unknown compiler options in clangd. --- neovim/.clangd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 neovim/.clangd diff --git a/neovim/.clangd b/neovim/.clangd new file mode 100644 index 0000000..1211c5c --- /dev/null +++ b/neovim/.clangd @@ -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*]