atom-alignment icon indicating copy to clipboard operation
atom-alignment copied to clipboard

Ruby hash-rockets with symbol keys are broken

Open doughsay opened this issue 8 years ago • 0 comments

I'm pretty sure this used to work, but it seems like it no longer does. This:

{
  :something => 'foo',
  :else => 'bar'
}

Turns into this:

{
: something => 'foo',
: else      => 'bar'
}

I have to remove : from the "Left Separators" config for it to work, but I assume that breaks other cases...

For clarity, I expect this:

{
  :something => 'foo',
  :else      => 'bar'
}

doughsay avatar Jan 03 '17 21:01 doughsay