[TxMt] Re: haml embedded ruby outdenting

mwean matthew.wean at gmail.com
Tue Feb 28 19:59:18 UTC 2012


Awesome, thanks!


Brandon Fryslie-2 wrote:
> 
> In a personal bundle, create a new 'Settings' in the bundle editor.  Add 
> 
>  { disableIndentCorrections = '1'; }
> 
> to the settings and save it.  Set the scope selector if you would like it
> to only apply to a certain scope, or leave it blank to allow it to affect
> all scopes.  I personally turn off the autoIndent since it's wrong much
> more often that it is correct for Ruby and CoffeeScript, and it's very
> persistent.  I'm sure once the grammars are rewritten it will work more
> correctly. 
> 
> -- 
> Brandon Fryslie
> http://www.MateWiki.com - A TextMate 2 Wiki
> 
> 
> On Tuesday, February 28, 2012 at 12:51 PM, mwean wrote:
> 
>> 
>> In TM2, embedded ruby lines are sometimes being outdented as I type.
>> Here's
>> an example:
>> 
>> = form_for(@consumer_enrollment, url: [@workflow], method: :put, html: {
>> class: 'uniform' }) do |f|
>> = f.fields_for(:consumer_prior_authorizations) do |prior_auth_form|
>> 
>> When typing the second line, hitting backspace at any point or typing the
>> first colon causes the line to outdent to the level of the first line. I
>> can't see any change in the scope, and it doesn't do this in TM1, so I
>> don't
>> know what the issue is. Any ideas?
>> -- 
>> View this message in context:
>> http://old.nabble.com/haml-embedded-ruby-outdenting-tp33409296p33409296.html
>> Sent from the textmate users mailing list archive at Nabble.com
>> (http://Nabble.com).
>> 
>> 
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com (mailto:textmate at lists.macromates.com)
>> http://lists.macromates.com/listinfo/textmate
>> 
>> 
> 
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 

-- 
View this message in context: http://old.nabble.com/haml-embedded-ruby-outdenting-tp33409296p33409356.html
Sent from the textmate users mailing list archive at Nabble.com.



More information about the textmate mailing list