]> code.delx.au - gnu-emacs-elpa/commit
Indent continued expressions in multiline declarations better
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 27 Apr 2011 19:09:19 +0000 (23:09 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 27 Apr 2011 20:15:34 +0000 (00:15 +0400)
commita9ff661cd98bb7523bc04ca88270d64ef1d00620
treece8c5f6760edcce955fc9a45c95d04c5fa47179c
parent5cd3b546f0827223b76cdf9c7ac99ca75a812d1d
Indent continued expressions in multiline declarations better

let a = 5 + 3,
    b = "booo" + "bar"
      + "toot" + "tar";

This change also makes `js2-auto-indent-p' less useful: each new line
in a declaration is automatically indented.
js2-mode.el