Reputation: 387
For example, in *.asm files I need a tab size that equals 20 spaces, and in *.cpp files - 2 spaces.
Upvotes: 25
Views: 7189
Reputation: 20348
Open a .asm
file in Sublime Text.
Then edit syntax specific settings with menu Preferences -> Settings - More -> Syntax Specific - User
:
{
"tab_size": 20
}
You can do the same with any other file type.
Upvotes: 44