mooz/js2-mode — Issue #22: Pretty multi-line variable declaration doesn't work
Author: naasir
Created: 2011-11-09 18:22:24+00:00
State: open

For some reason, I can't seem to get my var declarations to line up. Check it out:

function test() {
var x = 1,
y = 2,
z = 3;

function test2() {
var x = 1,
y = 2,
z = 3;
}
}

My elisp-fu is weak-sauce, otherwise I would have made more of an effort to debug this. Maybe I'll give it a go when I get a chance, but thought I'd bring it up nonetheless.

Some other bits of info:
- I've verified that the js2-pretty-multiline-decl-indentation-p parameter is non-nil
- I'm running emacs on windows via cygwin
- I got the very latest version of your js2-mode as of 11/9/2011, deleted the old compiled version on my system, and recompiled

Any help or hints would be appreciated. Thanks!