tree-sitter-tiger/.clang-format

22 lines
439 B
Plaintext
Raw Normal View History

---
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