1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-28 14:06:35 +02:00
sway/.clang-format
David Eklov 6fb985b767 clang-format configuration for Sway's style as detailed in CONTRIBUTING.md
CONTRIBUTING.md says use kernel style, "but all braces go on the same line". The
kernel uses a column limit of 80 characters. The de facto syle in Sway is to
allow for wider lines so this format file does not enforce an 80 column limit.
2016-07-11 22:33:58 -05:00

8 lines
157 B
YAML

BasedOnStyle: LLVM
IndentWidth: 8
UseTab: Always
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
ColumnLimit: 0