apply scalariform formatting