Automatic indentation for Multi Line var statements for JavaScript grammarr


#1

Asking here since I couldn’t find an existing issue.
I’ve used other editors that properly auto indent multi line var statements:

var foo,
  bar,
  something;

Using Atom 1.0.2, auto indenting the same block gives me

var foo,
bar,
something;

Is this a feature that is going to be added to the JavaScript grammar? Or has anyone found a suitable workaround? (besides manually indenting because I am lazy…)


#3

Looks like I was too lazy: https://github.com/atom/atom/issues/4983