1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 21:42:43 +01: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