Enable smartindent. Reformat things a bit.