Skip to content

Instantly share code, notes, and snippets.

@allanon
Created June 14, 2016 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allanon/8ce876eca89218da2b18b563d3d2fe69 to your computer and use it in GitHub Desktop.
Save allanon/8ce876eca89218da2b18b563d3d2fe69 to your computer and use it in GitHub Desktop.
# max line width is 132 cols
-l=132
# indent level is 4 cols
-i=4
# entab at 4 cols
-et=4
# continuation indent is 4 cols
-ci=4
# output to stdout
-st
# errors to stderr
-se
# medium vertical tightness
-vt=1
# no extra indentation for closing brackets
-cti=0
# minimum parenthesis tightness
-pt=0
# medium brace tightness
-bt=1
# medium square bracket tightness
-sbt=1
# medium block brace tightness
-bbt=1
# no space before semicolons
-nsfs
# don't outdent long quoted strings
-nolq
# break before all operators
-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
# No whitespace after semi-colons
-nwrs=";"
# Cuddle else
-ce
# Add whitespace before separating semi-colons in for statements
-sfs
# Always put opening code block brace on right
-bar
# Cuddle opening tokens with preceding commas (eg, "}, {" instead of "},\n\t{")
-otr
# Always break after an opening non-block brace
-bvt=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment