smartindent works for me