tamzinblake / js3-mode

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

js3-pretty-lazy-vars not working properly #55

Closed tamzinblake closed 12 years ago

tamzinblake commented 12 years ago

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.

tamzinblake commented 12 years ago

via @skoni on https://github.com/thomblake/js3-mode/issues/53#issuecomment-4826898

tillre commented 12 years ago

Fixed in lightning speed and works like a charm, thanks!