AlignTab
AlignTab copied to clipboard
Align text by end of pattern.
Hello. It's very cool and powerful package. But I can't figure out how to align this code:
int a;
char *b;
char **c;
By this way:
int a;
char *b;
char **c;
In ordinary case it will match in \**\w; regexp, but it will form this code:
int a;
char *b;
char **c;
So, is it possible? If it is not I would suggest this as feature requiest. Option to align text by end of patterns instead of start.
\**\w/lr0 should work.
@randy3k definitely it works, thanks!
But what is /lr ? Is there any documentation on this kind of regexp?
Check this part of the documentation.
I've got it, thanks!