OILS / .clang-format View on Github | oilshell.org

12 lines, 11 significant
1BasedOnStyle: Google
2# We have a lot of switch statements, and the extra indent doesn't help.
3IndentCaseLabels: false
4# I like consistent Python-style functions and blocks, e.g. not if (x) return
5AllowShortFunctionsOnASingleLine: None
6AllowShortBlocksOnASingleLine: false
7IndentPPDirectives: BeforeHash
8
9# Does not do what I want
10# TypenameMacros: ["SUM", "VARIANT"]
11WhitespaceSensitiveMacros: ["SUM", "VARIANT", "SCHEMA"]
12TypenameMacros: ["SUM_NS", "PROD"]