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

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

[elpa] 36/46: Indent before inequality operator at bol


From: Dmitry Gutov
Subject: [elpa] 36/46: Indent before inequality operator at bol
Date: Sat, 15 Nov 2014 20:58:10 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 2e1d701794feef52ed7b512509d80b3aefcffd0d
Author: Dmitry Gutov <address@hidden>
Date:   Wed Nov 5 10:41:53 2014 +0200

    Indent before inequality operator at bol
    
    Fixes #174
---
 js2-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 04dd34d..ba0ba4e 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -9701,7 +9701,7 @@ And, if CHECK-ACTIVATION-P is non-nil, use the value of 
TOKEN."
 followed by an opening brace.")
 
 (defconst js2-indent-operator-re
-  (concat "[-+*/%<>=&^|?:.]\\([^-+*/]\\|$\\)\\|"
+  (concat "[-+*/%<>&^|?:.]\\([^-+*/]\\|$\\)\\|!?=\\|"
           (regexp-opt '("in" "instanceof") 'words))
   "Regular expression matching operators that affect indentation
 of continued expressions.")



reply via email to

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