Vim has listchars var where i can define how tab, eol and trailing spaces look like. Is it possible to do same in Sublime?
Highlight unwanted spaces(like vim)
You could use the syntax highlighting to do it. For example, for trailing whitespace you could add something like this to a currently loaded .tmLanguages file
<dict>
<key>match</key>
<string>( )+$</string>
<key>name</key>
<string>custom.trailing</string>
</dict>
Then make sure you have that scope defined in your color theme, setting the background to red, for example.
0 Likes