Skip to content

Commit 3e0ed63

Browse files
committed
Fix array member indentation in function calls - take 2
The fix in 3ce73dd didn't quite do it. It messed up indentation of stuff like: ```php $someObject = new SomeClass(); $otherObject= new OtherClass($someObject ->methodOne() ->methodTwo() ); ```
1 parent e58d967 commit 3e0ed63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drupal-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ function arguments.")
331331
(indent-tabs-mode . nil)
332332
(require-final-newline . t)
333333
(c-offsets-alist . ((arglist-close . 0)
334-
(arglist-cont-nonempty . 0)
334+
(arglist-cont-nonempty . php-lineup-arglist)
335335
(statement-cont . +)))
336336
(c-doc-comment-style . (php-mode . javadoc))
337337
(c-label-minimum-indentation . 1)

0 commit comments

Comments
 (0)