Created
August 23, 2012 11:20
-
-
Save anonymous/3435705 to your computer and use it in GitHub Desktop.
indentation tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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