plugin-ruby icon indicating copy to clipboard operation
plugin-ruby copied to clipboard

Weird chained method call block indent

Open ekmartin opened this issue 1 year ago • 0 comments

Would've expected this:

              .foo
              .foo
              .long
              .string
              .ofactuallyreallylongtextgoeshere
              .baz
              .each do |thing|
              {
                bla: thing,
                blabla: thing,
                blablabla: thing,
                blablablabla: thing,
              }
            end

To be:

            foo
              .foo
              .foo
              .long
              .string
              .ofactuallyreallylongtextgoeshere
              .baz
              .each do |thing|
                {
                  bla: thing,
                  blabla: thing,
                  blablabla: thing,
                  blablablabla: thing,
                }
              end

ekmartin avatar Feb 10 '24 08:02 ekmartin