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

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

[elpa] 12/46: Add `.' to electric-indent-chars for method continuations


From: Dmitry Gutov
Subject: [elpa] 12/46: Add `.' to electric-indent-chars for method continuations
Date: Sat, 15 Nov 2014 20:57:59 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 2ee1a1998ade53b8373f83d4ba00e476988f02ca
Author: Dmitry Gutov <address@hidden>
Date:   Wed Jul 2 18:10:32 2014 +0300

    Add `.' to electric-indent-chars for method continuations
    
    #146
---
 js2-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 2856105..54d7dcb 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -10373,7 +10373,7 @@ Selecting an error will jump it to the corresponding 
source-buffer error.
   (put 'js2-mode 'find-tag-default-function #'js2-mode-find-tag)
 
   (set (make-local-variable 'electric-indent-chars)
-       (append "{}()[]:;,*" electric-indent-chars))
+       (append "{}()[]:;,*." electric-indent-chars))
   (set (make-local-variable 'electric-layout-rules)
        '((?\; . after) (?\{ . after) (?\} . before)))
 



reply via email to

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