[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16996: 24.3.50; [ruby-mode] Incorrect indentation for implicit hash
From: |
Dmitry Gutov |
Subject: |
bug#16996: 24.3.50; [ruby-mode] Incorrect indentation for implicit hash arguments |
Date: |
Wed, 12 Mar 2014 17:18:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Bozhidar Batsov <bozhidar@batsov.com> writes:
> top(1, :a => 1,
> :b => 2)
>
> top(1, :a => 1,
> :b => 2)
This looks like something that would be pretty gnarly to implement. I'm
not sure if we want to. Here's another example:
top(1, {
:a => 1,
:b => 2
})
If we remove the braces, would you still indent :a and :b like if the
braces were present?