[TxMt] Re: Limitation of scopeAttributes

Ronald Wampler rdwampler at gmail.com
Sun Jul 29 00:43:57 UTC 2018


The attributes list should be separated by a single space in quotes. Try adding the following:

scopeAttributes = 'attr.keep-whitespace attr.do-not-ensure-new-line’

-Ron

> On Jul 28, 2018, at 10:53 AM, Etienne Samson <samson.etienne at gmail.com> wrote:
> 
> Hello !
> 
> Some time ago I posted a SO question about an [issue](https://stackoverflow.com/questions/50412613/scopeattributes-with-multiple-values) I encountered while running both the Strip-Whitespace-On-Save and Ensure-Newline-At-EOF bundles (the latter being the recently added one).
> 
> Since that question didn't gather any feedback, maybe I'll have more luck here, hence the "repost".
> 
> The gist of the issue is that either 1) couldn't read the manual hard enough to find the correct syntax to use, 2) scopeAttributes really are limited to 1 (which I didn't expect when I spec-ed the attribute thingy in the SWOS bundle).
> 
> Thanks for your time !
> 
> Regards,
> Etienne Samson
> --
> samson.etienne at gmail.com
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list