tree-sitter-tiger/.clang-format
Bruno BELANYI 5be01b43fb Add clang-format rules
Since we now have an external scanner, might as well have good looking
code.
2022-06-02 22:20:37 +02:00

22 lines
439 B
YAML

---
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
# Force pointers to the type for C.
DerivePointerAlignment: false
PointerAlignment: Right
# Short functions should not be on a single line, unless empty
AllowShortFunctionsOnASingleLine: Empty
# It makes more sense this way
BreakBeforeBinaryOperators: All
BreakBeforeTernaryOperators: true
# Aesthetic
AlignOperands: AlignAfterOperator
BinPackParameters: false
---
# vim: ft=yaml