Last active
April 2, 2024 09:08
-
-
Save patrislav1/bf31cb19e225338c1f6a909b3836155a to your computer and use it in GitHub Desktop.
clang-format configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
BasedOnStyle: Chromium | |
IndentWidth: 4 | |
IncludeCategories: | |
- Regex: '<[a-zA-Z0-9_]+>' # standard headers (no extension) | |
Priority: 2 | |
- Regex: '<[a-zA-Z0-9/]+\.(h|hpp)>' # library headers (with extension) | |
Priority: 3 | |
- Regex: '.*' | |
Priority: 4 | |
IncludeBlocks: Regroup | |
AlwaysBreakAfterDefinitionReturnType: None | |
AlwaysBreakAfterReturnType: None | |
AllowAllArgumentsOnNextLine: false | |
AllowAllParametersOfDeclarationOnNextLine: false | |
BinPackArguments: false | |
BinPackParameters: false | |
ExperimentalAutoDetectBinPacking: false | |
BreakBeforeBraces: WebKit | |
BreakConstructorInitializers: BeforeComma | |
ReflowComments: false | |
ColumnLimit: 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment