From 9f97176404cf785b4b60cedb7fda506825fcdc0a Mon Sep 17 00:00:00 2001 From: Vladyslav Hrytsenko Date: Sun, 18 Feb 2024 23:42:45 +0200 Subject: [PATCH] added clangd config --- .clangd.example | 15 +++++++++++++++ .gitignore | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 .clangd.example diff --git a/.clangd.example b/.clangd.example new file mode 100644 index 0000000..05be7df --- /dev/null +++ b/.clangd.example @@ -0,0 +1,15 @@ +CompileFlags: + Add: [ + -Wall, + -Wextra, + -Werror, + -Wno-missing-field-initializers, + -Wno-unused-value, + -Wno-unused-function, + -Wno-missing-braces, + -I/absolute/path/to/librg/code, + -I/absolute/path/to/librg/code/vendor, + -DLIBRG_EDITOR=1, + -DLIBRG_IMPLEMENTATION=1, + ] + Compiler: clang diff --git a/.gitignore b/.gitignore index 7faf4e8..a3cbd00 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,9 @@ build.sh build.bat package-lock.json +# configs +.clangd + # gtags GPATH GRTAGS