Skip to content

Commit

Permalink
chore: tell clangd to use C99 standards
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierChanth committed Nov 5, 2024
1 parent 81b57f7 commit f33b6dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/c/.clangd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CompileFlags:
# Use gcc in development for better diagnostics
# & Ensure that compilation doesn't fail due to warnings
Compiler: gcc
Add: [-Wno-error]
Add: [-Wno-error, -xc, -std=c99]

Index:
# Enable background indexing for better symbol information
Expand All @@ -15,4 +15,3 @@ Diagnostics:
# Avoid running slow clang-tidy checks
ClangTidy:
FastCheckFilter: Loose

0 comments on commit f33b6dd

Please sign in to comment.