aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-12 08:14:03 -0400
committerGitHub <noreply@github.com>2016-07-12 08:14:03 -0400
commit614aa28a7b7b04ac9b54aa8c0355e01a76ee0240 (patch)
tree5dbda14741b6f6955780f86fe3065c49372b9cb8
parente0e5d4a37e6d3fcacea48486753f1a920ef6f51f (diff)
parent6fb985b767b3629ad7cb276272a4da1786298c99 (diff)
downloadsway-614aa28a7b7b04ac9b54aa8c0355e01a76ee0240.tar.xz
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 @@
+BasedOnStyle: LLVM
+IndentWidth: 8
+UseTab: Always
+BreakBeforeBraces: Attach
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+ColumnLimit: 0