]> code.delx.au - gnu-emacs-elpa/commitdiff
Indent after `+='
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 5 Nov 2014 09:54:28 +0000 (11:54 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 5 Nov 2014 09:54:28 +0000 (11:54 +0200)
Closes #174

js2-mode.el

index 0141eb418152d3501971efe5e659d0b28f831e36..d6a0d295bcb9405859aee1b3f3d890b7076095b4 100644 (file)
@@ -9814,7 +9814,7 @@ and comments have been removed."
           (backward-char)
           (when (js2-looking-at-operator-p)
             (backward-char)
-            (not (looking-at "\\*\\|++\\|--\\|/[/*]")))))))
+            (not (looking-at "\\*\\|\\+\\+\\|--\\|/[/*]")))))))
 
 (defun js2-end-of-do-while-loop-p ()
   "Return non-nil if word after point is `while' of a do-while