--- BasedOnStyle: Google IndentWidth: 4 TabWidth: 8 UseTab: Never # A ColumnLimit > 0 causes clang-format to unbreaks all short lines, # which is undesired here. # If the line length exceeds 100, "ColumnLimit: 80" is used in scripts/line-length.py ColumnLimit: 0 --- # Customize only those options that differ from the base style! # Dumping the options of the base style for comparison: # clang-format -style=google -dump-config > .clang-format_google Language: Cpp AccessModifierOffset: -2 AlignAfterOpenBracket: DontAlign AlignOperands: false AllowShortFunctionsOnASingleLine: None AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false BinPackArguments: false BinPackParameters: false ConstructorInitializerIndentWidth: 8 ContinuationIndentWidth: 8 IndentCaseLabels: false DerivePointerAlignment: false ReflowComments: false SpaceAfterTemplateKeyword: false SpacesBeforeTrailingComments: 1 --- Language: JavaScript # Don't format .js files yet DisableFormat: true --- Language: Proto # Don't format .proto files yet DisableFormat: true ...