issue since ST2 for erlang new line indentation
now:
foo() ->
|
must be:
foo() ->
|
<key>increaseIndentPattern</key>
<string>^^%]*(\b(if|case|receive|after|fun|try|catch|begin|query)\b(?!.*\b(end)\b.*))|(->(\s*%.*)?$)</string>
fix it just surround with round brackets
^^%]((\b(if|case|receive|after|fun|try|catch|begin|query)\b(?!.\b(end)\b.))|(->(\s%.*)?$))
Win7 32bit