blakeembrey / blakeembrey/atom-alignment
Ruby hash-rockets with symbol keys are broken
Open
- Dominant language
- CoffeeScript
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I'm pretty sure this used to work, but it seems like it no longer does. This:
```ruby
{
:something => 'foo',
:else => 'bar'
}
```
Turns into this:
```ruby
{
: 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:
```ruby
{
:something => 'foo',
:else => 'bar'
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.