summaryrefslogtreecommitdiffhomepage
path: root/src/.clangd
diff options
context:
space:
mode:
Diffstat (limited to 'src/.clangd')
-rw-r--r--src/.clangd13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/.clangd b/src/.clangd
new file mode 100644
index 0000000..5b9dfec
--- /dev/null
+++ b/src/.clangd
@@ -0,0 +1,13 @@
+If:
+ PathMatch: .*\.cpp
+
+CompileFlags:
+ Add: [-std=c++14]
+
+---
+
+If:
+ PathMatch: .*\.c
+
+CompileFlags:
+ Add: [-std=c99]