Set swift indent offset to 2.
Disable whitespace cleanup on save.