Skip to content

Instantly share code, notes, and snippets.

@hluaces
Created January 9, 2019 22:55
Show Gist options
  • Save hluaces/4c06f48762888a5f3a803e804c3e3d84 to your computer and use it in GitHub Desktop.
Save hluaces/4c06f48762888a5f3a803e804c3e3d84 to your computer and use it in GitHub Desktop.
Clang-format file to use with the LPC language
{
"IndentWidth" : 4,
"AllowShortBlocksOnASingleLine": false,
"AllowShortFunctionsOnASingleLine": false,
"AllowShortIfStatementsOnASingleLine": false,
"AllowShortLoopsOnASingleLine": false,
"AlignAfterOpenBracket" : "AlwaysBreak",
"AlignConsecutiveAssignments": true,
"AlignConsecutiveDeclarations": true,
"AlignEscapedNewlines": "Left",
"AlignTrailingComments": true,
"BinPackArguments": false,
"BreakBeforeTernaryOperators": true,
"BreakBeforeBraces": "Linux",
"BreakStringLiterals": true,
"SortIncludes": false,
"IndentCaseLabels": true,
"SpaceAfterCStyleCast": true,
"SpaceBeforeParens": "ControlStatements",
"SpacesInParentheses": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment