emacs/test/manual/indent/js-indent-align-list-continuation-nil.js
Ingo Lohmar 9ac7dccc51 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.
2017-07-03 20:06:27 +02:00

20 lines
345 B
JavaScript

const funcAssignment = function (arg1,
arg2,
arg3) {
return { test: this,
which: "would",
align: "as well with the default setting"
};
}
function funcDeclaration(arg1,
arg2
) {
return [arg1,
arg2];
}
// Local Variables:
// indent-tabs-mode: nil
// js-indent-align-list-continuation: nil
// End: