Skip to content

Instantly share code, notes, and snippets.

Created August 23, 2012 11:20
Show Gist options
  • Save anonymous/3435705 to your computer and use it in GitHub Desktop.
Save anonymous/3435705 to your computer and use it in GitHub Desktop.
indentation tests
foo.value(1.2
) // unindent, matching bracket indents
if (false) {
bar
} // unindent, matching bracket indents
foo.value(
1.2) // we don't want to unindent, because the first token is not a bracket
foo.value( {
1.2} ) // same as above
MIDIdef.noteOn(\play, {
la.la.la
}, // don't unindent, as matching bracket does not indent
60
); // unindent, matching bracket indents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment