-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indentation edge case #194
Comments
interestingly, it doesn't if you drop the map to the next line: x =
bar(
y
)
.map do |i|
i
end ETA: braces vs do/end do not make a difference |
You should come up to vivace and help me debug this thing... current debugging note: Hits https://github.com/zenspider/enhanced-ruby-mode/blob/master/enh-ruby-mode.el#L992-L996 which backs up to the PREVIOUS line, calculates that indent, and then uses that. Apparently doesn't see the block's |
I totally would, but i'm in FL for the time being. And yeah, I hear you about the code, it's rough to sort through. |
offer still stands |
The
i
in this monstrosity is improperly indented withenh-ruby-mode
at the moment:The text was updated successfully, but these errors were encountered: