Project

General

Profile

Actions

Bug #5140

closed

Feature #5142: Remove ruby-mode.el from ruby's repo

Emacs ruby-mode major indentation bug with Ruby 1.9

Added by budu (Nicolas Buduroi) over 12 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
HEAD
Backport:
[ruby-core:38684]

Description

When spreading the arguments of a method call on multiple lines using the new hash syntax from Ruby 1.9, the level of indentation is retained even after the closing parenthesis. Example:

belongs_to(:foo,
class_name: 'Foo',
foreign_key: 'foo_id')

      # the indentation level is wrong!

Files

ruby-keyword-symbols-patch.diff (2.18 KB) ruby-keyword-symbols-patch.diff rlipman (Reed Lipman), 04/21/2012 12:33 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #6823: Where/how should ruby-mode issues be reported?Closedmatz (Yukihiro Matsumoto)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0