Added snippet ft detection to remove expandtab