branch: master
commit ae3ed936b7ae72a6e726a3701107edb7fe67b8ce
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Backport for fix for #335
---
js2-old-indent.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js2-old-indent.el b/js2-old-indent.el
index d8932d6..f336005 100644
--- a/js2-old-indent.el
+++ b/js2-old-indent.el
@@ -131,7 +131,7 @@ switch statement body are indented one additional level."
followed by an opening brace.")
(defconst js2-indent-operator-re
- (concat "[-+*/%<>&^|?:.]\\([^-+*/]\\|$\\)\\|!?=\\|"
+ (concat "[-+*/%<>&^|?:.]\\([^-+*/.]\\|$\\)\\|!?=\\|"
(regexp-opt '("in" "instanceof") 'symbols))
"Regular expression matching operators that affect indentation
of continued expressions.")