Closed tamzinblake closed 12 years ago
This seems to have solved it! Found something else. I'll make an new issue and you can see if you agree its a bug.
It only partially works for me. The case:
var a = b()
, c = d();
does not indent correctly. It looks like parens are breaking it.
var a = {foo: "bar"}
, b = 10;
and
var a = [1, 2, 3]
, b = 42;
also dont indent correctly.
@skoni fixed - see #55
Via @deedubs
if I turn on js3-lazy-commas t I get
instead of