[TxMt] Re: Custom scopeAttributes and injection selectors

Per Persson persquare at mac.com
Wed Sep 30 18:21:51 UTC 2015


OK, I see.
Thanks for the information.

/Per


> 30 sep. 2015 kl. 05:40 skrev Allan Odgaard <mailinglist at textmate.org>:
> 
>> On 22 Sep 2015, at 14:53, Per Persson wrote:
>> 
>> […] when I add a scopeAttribute in .tm_properties
>> 
>>     [ tests/*.py ]
>>     scopeAttributes = 'attr.test.calvin'
>> 
>> in order to prevent the injection from happening everywhere it no longer works.
> 
> Currently the custom scope attributes (set via .tm_properties) are ignored for the purpose of injection.
> 
> This is because the grammar parsing is on a much lower level than the management of the .tm_properties read from disk, but it’s something I would very much like to see improved, so that one can rely on custom scope attributes for injection purposes.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list