set tab/spaces based on filetype