aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorfenze <fiedorowicz.kacper@gmail.com>2022-11-17 16:57:11 +0000
committerfenze <fiedorowicz.kacper@gmail.com>2022-11-17 16:57:46 +0000
commit5e7587dd992decae5baf16847e1ab0c3cdba3821 (patch)
treee4c00325dcaf0b245296e07856d20324723458be /.clang-format
parent68ca1eb61abd8f3a14664e3c6d58a3419fe194f7 (diff)
Fix webkit bg color error, add rose-nativefier
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format37
1 files changed, 37 insertions, 0 deletions
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