Auto remove trailing whitespace