tamzinblake / js3-mode

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

lazy operator-first not lining up properly #25

Closed tamzinblake closed 13 years ago

tamzinblake commented 13 years ago
    // test lo1
    // should line up "value2" directly under "value1"
    // and "value3" directly under "value2"
    var z = (
        "value1"
      + "value2"
    + "value3"
    )

    // test lo2
    // "test2" should line up directly under "test1"
    // and "test3" should line up directly under "test2"
    // issue #10
    function test2 () {
        var x
        x.report(
            "test1"
          + "test2"
        + "test3"
        )
    }
}
    // test lo1
    // should line up "value2" directly under "value1"
    // and "value3" directly under "value2"
    var z = (
        "value1"
      + "value2"
      + "value3"
    )

    // test lo2
    // "test2" should line up directly under "test1"
    // and "test3" should line up directly under "test2"
    // issue #10
    function test2 () {
        var x
        x.report(
            "test1"
          + "test2"
          + "test3"
        )
    }