jarod2d / sublime_valign

Vertical alignment plugin for Sublime Text 2 and 3
91 stars 7 forks source link

Incorrect alignment if there are multiple instances of alignment characters per line #34

Closed questionmarc closed 9 years ago

questionmarc commented 9 years ago

Example:

var config = {
    OBJECT: {"thing": "thing", "thing2": "thing2", "thing34": "thing34"},
    OBJECT2: {"thing": "thing", "thing2": "thing2", "thing3": "thing3"},
    SOMETHING: {"thing": "thing", "thing2": "thing2", "thing4321": "thing4321"},
}

I would expect it to format into something like:

var config = {
    OBJECT:    {"thing": "thing", "thing2": "thing2", "thing34":   "thing34"},
    OBJECT2:   {"thing": "thing", "thing2": "thing2", "thing3":    "thing3"},
    SOMETHING: {"thing": "thing", "thing2": "thing2", "thing4321": "thing4321"},
}
questionmarc commented 9 years ago

Nevermind. This is probably just user error because I was messing with the settings. It would be nice to have a run down of how altering the settings actually works in the readme.