]> git.eshelyaron.com Git - emacs.git/commit
Offer non-aligned indentation in lists in js-mode (Bug#27503)
authorIngo Lohmar <i.lohmar@gmail.com>
Sat, 1 Jul 2017 11:09:20 +0000 (13:09 +0200)
committerIngo Lohmar <i.lohmar@gmail.com>
Mon, 3 Jul 2017 18:06:27 +0000 (20:06 +0200)
commit9ac7dccc51ee834b06cdabf6a5746eb375f984f0
treee828d23bc109d4576169f782dba1982c840f822c
parentcaf92449802ea2250d6ac30a01797b0554d71dc3
Offer non-aligned indentation in lists in js-mode (Bug#27503)

* lisp/progmodes/js.el (js--proper-indentation):
New customization option 'js-indent-align-list-continuation'.
Affects argument lists as well as arrays and object properties.
* test/manual/indent/js-indent-align-list-continuation-nil.js:
Test the change.
etc/NEWS
lisp/progmodes/js.el
test/manual/indent/js-indent-align-list-continuation-nil.js [new file with mode: 0644]