awesome-print/awesome_print

Bad indentation on large nested hashes

raldred opened this issue · 0 comments

Running into some strange indentation when using ap with large nested hashes.
The indentation ends up all over the place, for example:
ap I18n::JS.filtered_translations on a RoR application

Here's a snippet

                             :time => {
                 :am => "am",
            :formats => {
                :default => "%a, %d %b %Y %H:%M:%S %z",
                   :long => "%B %d, %Y %H:%M",
                  :short => "%d %b %H:%M"
            },
                 :pm => "pm"
        },