branch: elpa/drupal-mode
commit 3e0ed63e4bf25b459ae08eb654c1597ec3ce58d7
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Fix array member indentation in function calls - take 2
The fix in 3ce73dd22128f137c89cf51a3dbdc8dbb08fc068 didn't quite do it.
It messed up indentation of stuff like:
```php
$someObject = new SomeClass();
$otherObject= new OtherClass($someObject
->methodOne()
->methodTwo()
);
```
---
drupal-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index fdc564d7ab..2765b765a3 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -331,7 +331,7 @@ function arguments.")
(indent-tabs-mode . nil)
(require-final-newline . t)
(c-offsets-alist . ((arglist-close . 0)
- (arglist-cont-nonempty . 0)
+ (arglist-cont-nonempty . php-lineup-arglist)
(statement-cont . +)))
(c-doc-comment-style . (php-mode . javadoc))
(c-label-minimum-indentation . 1)