diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-12 08:14:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-12 08:14:03 -0400 |
commit | 614aa28a7b7b04ac9b54aa8c0355e01a76ee0240 (patch) | |
tree | 5dbda14741b6f6955780f86fe3065c49372b9cb8 | |
parent | Merge pull request #748 from Hummer12007/x86fix (diff) | |
parent | clang-format configuration for Sway's style as detailed in CONTRIBUTING.md (diff) | |
download | sway-614aa28a7b7b04ac9b54aa8c0355e01a76ee0240.tar.gz sway-614aa28a7b7b04ac9b54aa8c0355e01a76ee0240.tar.zst sway-614aa28a7b7b04ac9b54aa8c0355e01a76ee0240.zip |
Merge pull request #747 from deklov/clang-format-01
clang-format configuration for Sway's style as detailed in CONTRIBUTI…
-rw-r--r-- | .clang-format | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..83d50545 --- /dev/null +++ b/.clang-format | |||
@@ -0,0 +1,7 @@ | |||
1 | BasedOnStyle: LLVM | ||
2 | IndentWidth: 8 | ||
3 | UseTab: Always | ||
4 | BreakBeforeBraces: Attach | ||
5 | AllowShortIfStatementsOnASingleLine: false | ||
6 | IndentCaseLabels: false | ||
7 | ColumnLimit: 0 | ||