- Fix #8, '==' is interpreted as two '='.
- Enhance the logic of finding which op to be aligned.
- Fix plugin not working when language config is present in user settings, but it doesn't include better-align settings.
- Fix #5,
+=
was changed to=
- Fix #4, double slash after colon is being recognized as comment. e.g.
http://
- Always align with assignment operator if it's presented.
- User can stop better-align from modifying the indentation ( specified in settings :
alignment.indentBase
) - Allow space to the sibling token ( check out README.md to know how to enable this mode ):
// Before
export fdafas=fdasfas;
export fs=fasfdsfadsa;
export fadsfasf=fadsjfkdasf;
export fadsfa=fadfdasfadsf;
// After
export fdafas=fdasfas;
export fs=fasfdsfadsa;
export fadsfasf=fadsjfkdasf;
export fadsfa=fadfdasfadsf;
- Don't align '->', because it's commonly used as attribute access operator.
- Arrows (-> =>) can be aligned