+7
Highlight trailing whitespace
In some of our older files there's a lot of trailing whitespace. I don't want to turn on trim trailing whitespace because it would nuke our files and cause a lot of merge conflicts, but I also want to avoid writing it.
Turning on drawWhiteSpace to all is kind of overwhelming. Is there a way to highlight only the trailing white space.
Turning on drawWhiteSpace to all is kind of overwhelming. Is there a way to highlight only the trailing white space.
Servicio de atención al cliente por UserEcho
<dict>
<key>name</key>
<string>Trailing whitespace</string>
<key>scope</key>
<string>trailingspace</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#FF0E09</string>
<key>foreground</key>
<string>#F8F8F8</string>
</dict>
</dict>
And set setting:
"highlight_trailing_spaces_color_name": "trailingspace"
Background color of trailing spaces should be reddish while I see white. I'm using twilight theme with this one simple modification.
When I use default "comment" scope then background is gray but when I use anything else, it's white.