jarod2d / sublime_valign

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

python decorator , align only work on first keyword argument #16

Open ghost opened 11 years ago

ghost commented 11 years ago

Before:

    @D(a=1, b=2, c=3)
    @D(a=11, b=22)
    def fun():
        pass

After:

    @D(a = 1, b=2, c=3)
    @D(a = 11, b=22)
    def fun():
        pass
jarod2d commented 11 years ago

VAlign currently only aligns to the first alignment character it finds on each line. It'd be great to add the ability to align on multiple characters per line, but I honestly don't have the time to do that any time in the near future. If you or anyone else would like to add that feature and submit a pull request, I'd be happy to merge it.