From 5e7587dd992decae5baf16847e1ab0c3cdba3821 Mon Sep 17 00:00:00 2001 From: fenze Date: Thu, 17 Nov 2022 16:57:11 +0000 Subject: Fix webkit bg color error, add rose-nativefier --- .clang-format | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..69e6656 --- /dev/null +++ b/.clang-format @@ -0,0 +1,37 @@ +# vim:ft=yaml + +IndentWidth: 8 +BreakBeforeBraces: Linux +UseTab: Always +AlignArrayOfStructures: Left +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLoopsOnASingleLine: True +AlwaysBreakBeforeMultilineStrings: True +BreakBeforeTernaryOperators: True +BreakStringLiterals: True +ColumnLimit: 100 +IncludeBlocks: Regroup +KeepEmptyLinesAtTheStartOfBlocks: True +RemoveBracesLLVM: True +SortIncludes: CaseInsensitive +SortUsingDeclarations: True +SpaceAfterLogicalNot: True +SpaceAfterCStyleCast: True +SpaceAfterTemplateKeyword: False +PointerAlignment: Right +SpaceBeforeAssignmentOperators: True +SpaceBeforeCaseColon: False +SpaceBeforeCpp11BracedList: True +SpaceBeforeCtorInitializerColon: False +SpaceBeforeInheritanceColon: False +SpaceBeforeParens: Custom +SpaceBeforeParensOptions: + AfterControlStatements: True + AfterForeachMacros: True + AfterFunctionDeclarationName: False + AfterFunctionDefinitionName: False + AfterIfMacros: True + AfterOverloadedOperator: False + BeforeNonEmptyParentheses: False +SpaceBeforeRangeBasedForLoopColon: True -- cgit v1.2.3