bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15594: 24.3; Indentation of method arguments without parentheses in


From: Bozhidar Batsov
Subject: bug#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken
Date: Sat, 12 Oct 2013 09:24:49 +0300

In Ruby one can invoke methods with or without parentheses:

some_method(arg1, arg2)
some_method arg1, arg2

ruby-mode currently does not handle properly the indentation of calls without parentheses that span several lines:

# indented properly in 24.3
some_method(arg1,
                     arg2)

# not indented at all in 24.3
some_method arg1,
arg2

Ideally the second code example would be indented by ruby-mode like this:

some_method arg1,
                     arg2

-- 
Cheers,
Bozhidar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]