aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-format
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-06-07 09:42:50 +0800
committerLi Jin <dragon-fly@qq.com>2023-06-07 09:42:50 +0800
commit2a3e50752ade96c3b5d6b1103937bef0f6b31157 (patch)
treef7ae2654ac96009a9e5dbe9667e480cc920a2868 /src/.clang-format
parent738154d37dd4ec20b09acd0f9f81601d0dc069ba (diff)
downloadyuescript-2a3e50752ade96c3b5d6b1103937bef0f6b31157.tar.gz
yuescript-2a3e50752ade96c3b5d6b1103937bef0f6b31157.tar.bz2
yuescript-2a3e50752ade96c3b5d6b1103937bef0f6b31157.zip
add new syntax of in-expression.
Diffstat (limited to 'src/.clang-format')
-rw-r--r--src/.clang-format39
1 files changed, 23 insertions, 16 deletions
diff --git a/src/.clang-format b/src/.clang-format
index 5d305ae..6b3ad7b 100644
--- a/src/.clang-format
+++ b/src/.clang-format
@@ -1,17 +1,24 @@
1# Format Style Options - Created with Clang Power Tools 1# Format Style Options - Created with Clang Power Tools
2--- 2---
3BasedOnStyle: WebKit 3BasedOnStyle: WebKit
4AllowShortCaseLabelsOnASingleLine: true 4AllowShortCaseLabelsOnASingleLine: true
5AllowShortIfStatementsOnASingleLine: WithoutElse 5AllowShortIfStatementsOnASingleLine: WithoutElse
6AllowShortLoopsOnASingleLine: true 6AllowShortLoopsOnASingleLine: true
7BreakBeforeBraces: Attach 7BreakBeforeBraces: Attach
8Cpp11BracedListStyle: true 8Cpp11BracedListStyle: true
9IndentCaseLabels: true 9IndentCaseLabels: true
10NamespaceIndentation: None 10NamespaceIndentation: None
11SpaceBeforeCpp11BracedList: false 11SpaceBeforeCpp11BracedList: false
12TabWidth: 4 12TabWidth: 4
13AlignEscapedNewlines: DontAlign 13AlignEscapedNewlines: DontAlign
14AlwaysBreakBeforeMultilineStrings: true 14AlwaysBreakBeforeMultilineStrings: true
15FixNamespaceComments: true 15FixNamespaceComments: true
16UseTab: Always 16UseTab: Always
17... 17AlignOperands: AlignAfterOperator
18AllowShortLambdasOnASingleLine: Empty
19LambdaBodyIndentation: Signature
20AlignAfterOpenBracket: DontAlign
21ContinuationIndentWidth: 4
22ObjCBlockIndentWidth: 4
23ConstructorInitializerIndentWidth: 4
24...