How to set tab size is already answered here.
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.
How to set tab size is already answered here.
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.