branch: elpa/drupal-mode
commit 3ce73dd22128f137c89cf51a3dbdc8dbb08fc068
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Fix array member indentation in function calls
```php
$foo = bar([
'baz',
]);
```
```php
$foo = bar([
'baz',
]);
```
---
drupal-mode.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index af77a2ac3c..f77bf4041a 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -1,6 +1,6 @@
;;; drupal-mode.el --- Advanced minor mode for Drupal development
-;; Copyright (C) 2012, 2013, 2014, 2015, 2016, 2017, 2019 Arne Jørgensen
+;; Copyright (C) 2012, 2013, 2014, 2015, 2016, 2017, 2019, 2020 Arne Jørgensen
;; Author: Arne Jørgensen <[email protected]>
;; URL: https://github.com/arnested/drupal-mode
@@ -331,8 +331,7 @@ function arguments.")
(indent-tabs-mode . nil)
(require-final-newline . t)
(c-offsets-alist . ((arglist-close . 0)
- (arglist-cont-nonempty . c-lineup-math)
- (arglist-intro . +)
+ (arglist-cont-nonempty . 0)
(statement-cont . +)))
(c-doc-comment-style . (php-mode . javadoc))
(c-label-minimum-indentation . 1)