title: How to set per-filetype tab size?
body: <p>How to set tab size is already answered <a href="https://stackoverflow.com/questions/29972396/how-to-set-tab-space-style">here</a>.</p>
  
  <p>But how to have different settings for different file types?
  E.g. I want the tab size for HTMLs to be 2, but for other files to be 4.</p>