add formatters

This commit is contained in:
T 2025-04-06 13:57:45 -04:00
parent c5e5964e56
commit 504543e148
2 changed files with 25 additions and 1 deletions

12
resources/clang-format Normal file
View file

@ -0,0 +1,12 @@
---
# We'll use defaults from the LLVM style, but with 4 columns indentation.
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Never
ColumnLimit: 100
---
Language: C
PointerAlignment: Left
BreakBeforeBraces: Attach
AlignAfterOpenBracket: BlockIndent