Added the autocommand to remove trailing spaces.