Skip to content

Commit

Permalink
gdk-pixbuf: add .clang-format
Browse files Browse the repository at this point in the history
Plug-ins from https://gitlab.gnome.org/GNOME/gdk-pixbuf/
use similar coding style.
novomesk authored and wantehchang committed Jan 4, 2024
1 parent 03a12f8 commit c641380
Showing 2 changed files with 210 additions and 183 deletions.
23 changes: 23 additions & 0 deletions contrib/gdk-pixbuf/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Coding style is similar to https://gitlab.gnome.org/GNOME/gdk-pixbuf/
# IndentWidth is reduced to 4 instead of 8.
Language: Cpp
BasedOnStyle: GNU
IndentWidth: 4
AlwaysBreakAfterDefinitionReturnType: All
BreakBeforeBinaryOperators: true
BinPackParameters: false
SpaceAfterCStyleCast: true
IndentCaseLabels: false
IndentCaseBlocks: false
BreakBeforeBraces: Custom
AlignAfterOpenBracket: Align
BraceWrapping:
AfterCaseLabel: false
AfterEnum: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
BeforeElse: false
BeforeWhile: false
IndentBraces: false
ColumnLimit: 0
Loading

0 comments on commit c641380

Please sign in to comment.