adrianlee44 / atom-aligner

Easily align multi-line with support for different operators and custom configurations
https://atom.io/packages/aligner
MIT License
78 stars 3 forks source link

break on boolean comparator (coffescript) #39

Closed gagalago closed 8 years ago

gagalago commented 8 years ago

this example

aaaaaaaaaaaaaaaaa = "a"
while b != "b"

is miss aligned to

aaaaaaaaaaaaaaaaa = "a"
while b !         = "b"
adrianlee44 commented 8 years ago

Oh no! This is a regression. Looking into this.

adrianlee44 commented 8 years ago

It seems like there is a bug with atom/language-coffee-script where ! has a higher priority than !=.

adrianlee44 commented 8 years ago

This is fixed with Atom 1.2 release which is using the latest language-coffee.