summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-12 08:14:03 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-12 08:14:03 -0400
commit614aa28a7b7b04ac9b54aa8c0355e01a76ee0240 (patch)
tree5dbda14741b6f6955780f86fe3065c49372b9cb8
parentMerge pull request #748 from Hummer12007/x86fix (diff)
parentclang-format configuration for Sway's style as detailed in CONTRIBUTING.md (diff)
downloadsway-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-format7
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 @@
1BasedOnStyle: LLVM
2IndentWidth: 8
3UseTab: Always
4BreakBeforeBraces: Attach
5AllowShortIfStatementsOnASingleLine: false
6IndentCaseLabels: false
7ColumnLimit: 0