I use mads Whitespace bundle: https://github.com/mads379/Whitespace.tmbundle to flag trailing whitespace.
https://github.com/mads379/Whitespace.tmbundle/commit/ac6082c8f
I'd rather have the previous behavior which highlights all trailing whitespace.
https://github.com/mads379/Whitespace.tmbundle/blob/011dd0e/Syntaxes/Trailin...
Is there a way I could select which behavior was used in the Syntax file based on an environmental variable?
Syntaxes/Trailing Whitespace.tmLanguage https://github.com/mads379/Whitespace.tmbundle/blob/master/Syntaxes/Trailing...
On 11 Sep 2013, at 1:42, Stephen Bannasch wrote:
[…] Is there a way I could select which behavior was used in the Syntax file based on an environmental variable?
No, but eventually it should be controllable by setting scope attributes (via .tm_properties) and using those in the injection selectors.