tamzinblake / js3-mode

A chimeric fork of js2-mode and js-mode
GNU General Public License v3.0
181 stars 13 forks source link

lazy modes add extra indenting to functions #14

Closed tamzinblake closed 12 years ago

tamzinblake commented 13 years ago

Presumably, in js-lazy-commas and js-lazy-operators modes we want the option to leave indentation at a single indent for functions - instead we get a single indent plus 2 spaces, because js-mode does not distinguish between indenting for an object literal and for a function body. A config flag should be added to indent functions differently, though I imagine some people would like the current indentation just fine.

tamzinblake commented 12 years ago

This issue's existence is annoying. Closed until someone actually complains.