Path: blob/master/misc/utility/clang_format_glsl.yml
10277 views
# GLSL-specific rules.1# The rules should be the same as .clang-format, except those explicitly mentioned.2BasedOnStyle: LLVM3AccessModifierOffset: -44AlignAfterOpenBracket: DontAlign5AlignOperands: DontAlign6AlignTrailingComments:7Kind: Never8OverEmptyLines: 09AllowAllParametersOfDeclarationOnNextLine: false10AllowShortFunctionsOnASingleLine: Inline11AttributeMacros:12- _ALWAYS_INLINE_13- _FORCE_INLINE_14- _NO_INLINE_15BreakConstructorInitializers: AfterColon16ColumnLimit: 017ConstructorInitializerIndentWidth: 818ContinuationIndentWidth: 819Cpp11BracedListStyle: false20IncludeCategories:21- Regex: ^".*"$22Priority: 123- Regex: ^<.*\.h>$24Priority: 225- Regex: ^<.*>$26Priority: 327IndentCaseLabels: true28IndentWidth: 429InsertBraces: true30JavaImportGroups:31- org.godotengine32- android33- androidx34- com.android35- com.google36- java37- javax38KeepEmptyLinesAtTheStartOfBlocks: false39ObjCBlockIndentWidth: 440PackConstructorInitializers: NextLine41RemoveSemicolon: false # Differs from base .clang-format42SpacesInLineCommentPrefix:43Minimum: 044Maximum: -145Standard: c++2046TabWidth: 447UseTab: Always484950