Auto Indent automatically detects the indentation setings of an open file. It recognizes if spaces are used instead of tabs and the width of a tab.
- By cloning this repository into your Sublime Text Packages folder
git clone git://github.com/c0untd0wn/sublime-auto-indent AutoIndent
You've got nothing to do. It just automatically detects the indentations and sets your environment to follow it.