summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Lira <setanta@gmail.com>2025-04-04 20:24:49 -0300
committerMarcelo Lira <setanta@gmail.com>2025-04-04 21:49:31 -0300
commit82ae052e4ca6e789f0ee7c20a5d798130bad17f0 (patch)
tree36e774e6fc1f9eeed06043fb83e743b4d181c5a9
parent1f95942730ae8e7d03d339f428d0510fa9e5218e (diff)
Add a .clangd configuration file to get the right LSP diagnostics.
-rw-r--r--.clangd3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clangd b/.clangd
new file mode 100644
index 0000000..b330d55
--- /dev/null
+++ b/.clangd
@@ -0,0 +1,3 @@
+CompileFlags:
+ Compiler: gcc
+ Add: [-xc, -std=c99]