At my work, I am required to follow the house style for indentation, which goes as follows:
- 2 spaces when coding html and ruby
- tabs when coding javascript, with tabwidth=4 recommended
What is the best way to specify different whitespace preferences per filetype?