change from autoindent to smartindent