tamzinblake / js3-mode

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

lazy comma-first not lining up properly #24

Closed tamzinblake closed 13 years ago

tamzinblake commented 13 years ago

it does:

    //test lc1
    var test = {
        prop1: "value1"
      , prop2: "value2"
, prop3: "value3"
    }

    //test lc2
    var y = [
        "value1"
      , "value2"
, "value3"
    ]

should be:


    //test lc1
    var test = {
        prop1: "value1"
      , prop2: "value2"
      , prop3: "value3"
    }

    //test lc2
    var y = [
        "value1"
      , "value2"
      , "value3"
    ]