1111f691c6
Co-authored-by: n.fedorov <mail@nfedorov.dev> Co-committed-by: n.fedorov <mail@nfedorov.dev>
30 lines
805 B
YAML
30 lines
805 B
YAML
---
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
ColumnLimit: 110
|
|
PointerAlignment: Left
|
|
AlignAfterOpenBracket: Align
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLambdasOnASingleLine: Empty
|
|
BreakBeforeBraces: Attach
|
|
SortIncludes: true
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
# Project headers: nxst/
|
|
- Regex: '^(<|")(nxst/)'
|
|
Priority: 3
|
|
SortPriority: 3
|
|
# Third-party: Plutonium, libnx, SDL, switch.h
|
|
- Regex: '^(<|")(pu/|switch\.h|libnx|SDL|freetype|harfbuzz|zlib)'
|
|
Priority: 2
|
|
SortPriority: 2
|
|
# System / C++ standard library
|
|
- Regex: '^<'
|
|
Priority: 1
|
|
SortPriority: 1
|
|
SpacesBeforeTrailingComments: 2
|
|
Cpp11BracedListStyle: true
|
|
Standard: c++17
|
|
NamespaceIndentation: All
|