Whitespace highlighting for Sublime Text 2.
- Highlight tabs and spaces
- Highlight line endings
- Show line ending icon in the gutter
- Show line ending type in the status bar
See Whitespaces.sublime-settings
You can define your own scopes in your theme file, for example:
<dict>
<key>name</key>
<string>Whitespaces.space</string>
<key>scope</key>
<string>Whitespaces.space.highlight</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#232323</string>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#ffffff</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Whitespaces.tab</string>
<key>scope</key>
<string>Whitespaces.tab.highlight</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#1c2a2d</string>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#ffffff</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Whitespaces.line_ending</string>
<key>scope</key>
<string>Whitespaces.line_ending.highlight</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#3e1111</string>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#eda24c</string>
</dict>
</dict>
