Add clang-format configuration

This commit is contained in:
Přemysl Eric Janouch 2021-10-31 14:58:08 +01:00
parent ab283d3988
commit 810a1fee57
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 12 additions and 0 deletions

12
.clang-format Normal file
View File

@ -0,0 +1,12 @@
BasedOnStyle: LLVM
ColumnLimit: 80
IndentWidth: 4
TabWidth: 4
UseTab: ForContinuationAndIndentation
AlwaysBreakAfterReturnType: AllDefinitions
BreakBeforeBraces: Linux
SpaceAfterCStyleCast: true
AlignAfterOpenBracket: DontAlign
AlignOperands: DontAlign
SpacesBeforeTrailingComments: 2
WhitespaceSensitiveMacros: ['G_DEFINE_QUARK']