diff options
author | Li Jin <dragon-fly@qq.com> | 2023-06-07 09:42:50 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-06-07 09:42:50 +0800 |
commit | 2a3e50752ade96c3b5d6b1103937bef0f6b31157 (patch) | |
tree | f7ae2654ac96009a9e5dbe9667e480cc920a2868 /src/.clang-format | |
parent | 738154d37dd4ec20b09acd0f9f81601d0dc069ba (diff) | |
download | yuescript-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-format | 39 |
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 | --- |
3 | BasedOnStyle: WebKit | 3 | BasedOnStyle: WebKit |
4 | AllowShortCaseLabelsOnASingleLine: true | 4 | AllowShortCaseLabelsOnASingleLine: true |
5 | AllowShortIfStatementsOnASingleLine: WithoutElse | 5 | AllowShortIfStatementsOnASingleLine: WithoutElse |
6 | AllowShortLoopsOnASingleLine: true | 6 | AllowShortLoopsOnASingleLine: true |
7 | BreakBeforeBraces: Attach | 7 | BreakBeforeBraces: Attach |
8 | Cpp11BracedListStyle: true | 8 | Cpp11BracedListStyle: true |
9 | IndentCaseLabels: true | 9 | IndentCaseLabels: true |
10 | NamespaceIndentation: None | 10 | NamespaceIndentation: None |
11 | SpaceBeforeCpp11BracedList: false | 11 | SpaceBeforeCpp11BracedList: false |
12 | TabWidth: 4 | 12 | TabWidth: 4 |
13 | AlignEscapedNewlines: DontAlign | 13 | AlignEscapedNewlines: DontAlign |
14 | AlwaysBreakBeforeMultilineStrings: true | 14 | AlwaysBreakBeforeMultilineStrings: true |
15 | FixNamespaceComments: true | 15 | FixNamespaceComments: true |
16 | UseTab: Always | 16 | UseTab: Always |
17 | ... | 17 | AlignOperands: AlignAfterOperator |
18 | AllowShortLambdasOnASingleLine: Empty | ||
19 | LambdaBodyIndentation: Signature | ||
20 | AlignAfterOpenBracket: DontAlign | ||
21 | ContinuationIndentWidth: 4 | ||
22 | ObjCBlockIndentWidth: 4 | ||
23 | ConstructorInitializerIndentWidth: 4 | ||
24 | ... | ||