aboutsummaryrefslogtreecommitdiff
path: root/.clangd
diff options
context:
space:
mode:
Diffstat (limited to '.clangd')
-rw-r--r--.clangd9
1 files changed, 7 insertions, 2 deletions
diff --git a/.clangd b/.clangd
index 5022e8f..496ad97 100644
--- a/.clangd
+++ b/.clangd
@@ -1,4 +1,9 @@
+If:
+ PathMatch: .*\.h
CompileFlags:
- Add: [-I/usr/include/luajit-2.1, -I../include]
+ Add: [-std=c99,-xc-header,-Wall,-Werror,-pedantic,-Wvla,-Iinclude,-I../include,-I../../include/]
---
-UseTab: Always
+If:
+ PathMatch: .*\.c
+CompileFlags:
+ Add: [-std=c99,-xc-header,-Wall,-Werror,-pedantic,-Wvla,-Iinclude,-I../include,-I../../include/]