From 2e1d701794feef52ed7b512509d80b3aefcffd0d Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 5 Nov 2014 10:41:53 +0200 Subject: [PATCH] Indent before inequality operator at bol Fixes #174 --- js2-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js2-mode.el b/js2-mode.el index 04dd34dbe..ba0ba4e87 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.") -- 2.39.2