blakeembrey / blakeembrey/atom-alignment

Ruby hash-rockets with symbol keys are broken

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.