
* 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.
20 lines
345 B
JavaScript
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:
|