[TxMt] can an injectionSelector have alternate behavior based on config var?

Stephen Bannasch stephen.bannasch at deanbrook.org
Tue Sep 10 23:42:08 UTC 2013


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/Trailing%20Whitespace.tmLanguage

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%20Whitespace.tmLanguage




More information about the textmate mailing list