c37a013157
Unsurprisingly it doesn't support AngelScript, so the Java language mode is used instead. The overall result seems good, but there's one problem: Long statements starting with `@something = ` (object handle assignment) are broken after the `@`. To work-around this, I had to set `ColumnLimit` to `100`.
33 lines
683 B
YAML
33 lines
683 B
YAML
---
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
---
|
|
Language: Cpp
|
|
TabWidth: 4
|
|
ContinuationIndentWidth: 2
|
|
UseTab: ForIndentation
|
|
ColumnLimit: 100
|
|
|
|
AccessModifierOffset: -4
|
|
NamespaceIndentation: All
|
|
IndentCaseLabels: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
PointerAlignment: Right
|
|
|
|
AllowShortFunctionsOnASingleLine: Inline
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
---
|
|
# The style for AngelScript source files
|
|
Language: Java
|
|
UseTab: Never
|
|
ColumnLimit: 100
|
|
|
|
NamespaceIndentation: All
|
|
IndentCaseLabels: true
|
|
|
|
AllowShortFunctionsOnASingleLine: Inline
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|