Sets smartindent and expandtab options