正確にはシンタックス定義別に, だけれども. 設定したい言語のファイルを開く(シンタックスを対象の言語に設定する) Preferences > Settings – More > Syntax Specific – User として言語別の設定ファイル(.sublime-settings)を開く インデントの設定を記述して保存 インデントの設定は { "tab_size": 4, "translate_tabs_to_spaces": true, "trim_trailing_white_space_on_save": true } みたいな感じになる. (参考: Indentation Settings – Sublime Text 2 Documentation)
![Sublime Text2で言語別にインデント幅を設定する | blog.nomnel.net](https://cdn-ak-scissors.b.st-hatena.com/image/square/996da235be1d69769209b0bd60f76b53958b2583/height=288;version=1;width=512/https%3A%2F%2Fblog.nomnel.net%2Fog-images%2Fst2-indentation-settings-per-syntax.png)