Handle indentation of nested ternary operators in JS
commit6354e3c3368d99fad755d4dbd7c872ce1280f005
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 13 Apr 2017 00:50:41 +0000 (13 03:50 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 13 Apr 2017 00:50:41 +0000 (13 03:50 +0300)
tree59a6f7279c027da215dc0e57d10d48fcbfb9c93d
parent2e4f4c9d48c563ff8bec102b66da0225587786c6
Handle indentation of nested ternary operators in JS

* lisp/progmodes/js.el (js--looking-at-operator-p):
Handle nested ternary operators.
lisp/progmodes/js.el
test/manual/indent/js.js