branch: elpa/drupal-mode
commit f93cdfe1b26da7c67f37750d44108ef69966f18f
Author: Thomas Fini Hansen <[email protected]>
Commit: Thomas Fini Hansen <[email protected]>

    Use proper indent for continuation lines
    
    This properly indents this:
    
    $var->func()
      ->func();
---
 drupal-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drupal-mode.el b/drupal-mode.el
index 091cd49d28..15ad3f5844 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -340,6 +340,7 @@ function arguments.")
     (c-doc-comment-style . (php-mode . javadoc))
     (c-label-minimum-indentation . 1)
     (c-special-indent-hook . c-gnu-impose-minimum)
+    (statement-cont . +)
     )
   "Drupal coding style.
 According to https://drupal.org/coding-standards#indenting.";

Reply via email to