It would be nice to get other symbols rather than just =, I smell a good JSON cleanup :)
I suppose you change these two lines?
relevant_line_pattern = /^[^=]+=/
column_search_pattern = / *=/
into something .. :/
How'd you change hat to include at least : (semicolon) into the pattern matching?
Andreas
On Jul 4, 2006, at 15:56 , Chris Poirier wrote:
I've built a TM filter command that will realign assignment blocks.
It'll run on the current selection or on a block of statements
touching the current line. You can find it at
It's been on my shortlist since then to write a version that can
realign entire statements, lining up commas and closing parenthesis
and such. I'll probably get to that this month.
Regards,
Chris.