Added trim trailing whitespace option for ST2