This is very helpful instruction. I am a bit confused about the process in creating the new item in the TM2 bundle Editor which from my view does not support "create" anything - only edit.

What am I missing?

Thanks,

Ed.

On Feb 28, 2012, at 12:55 PM, Brandon Fryslie 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?
--
Sent from the textmate users mailing list archive at Nabble.com.


_______________________________________________
textmate mailing list


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate