change trailing whitespace highlighting so it works on mac too