For example, after a line that doesn't have a semicolon (like an open statement), it indents. Also, the mode is quite inflexible in regards to how it wants your code to look, like it requires switch statements to be on their own line or else it indents things incorrectly.
Also, it doesn't indent fun expressions properly. For a switch on it's own line it indents like this:
switch(5) {
| x =>
x + 1
}
for fun: