textmate / ruby.tmbundle

TextMate support for Ruby
178 stars 90 forks source link

Incorrect indentation when there's a comma and a newline #79

Open chibicode opened 9 years ago

chibicode commented 9 years ago

Originally reported here: https://github.com/atom/language-ruby/issues/7

Example:

class Example
  def test
    ["a",
     "b"]
  end
end

After running Indent Selection:

class Example
  def test
    ["a",
       "b"]
    end
  end