Files
NXST/.clang-format
T
DragonSpirit d410c4355d
CI / Build NRO (push) Has been cancelled
CI / Format check (push) Has been cancelled
CI / Layering check (push) Has been cancelled
another stage of refactoring
2026-05-12 09:59:43 +03:00

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