emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/drupal-mode f93cdfe1b2 278/308: Use proper indent for cont


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode f93cdfe1b2 278/308: Use proper indent for continuation lines
Date: Tue, 25 Jan 2022 10:59:58 -0500 (EST)

branch: elpa/drupal-mode
commit f93cdfe1b26da7c67f37750d44108ef69966f18f
Author: Thomas Fini Hansen <xen@xen.dk>
Commit: Thomas Fini Hansen <xen@xen.dk>

    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

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