atom / language-clojure

Clojure package for Atom
Other
49 stars 48 forks source link

Don't tokenize trailing whitespace as invalid #67

Closed 50Wliu closed 7 years ago

50Wliu commented 7 years ago

Requirements

Description of the Change

Wow, this was harder than expected. :fire: the patterns that were tokenizing trailing whitespace (even EOLs!) as invalid, and remove some odd after-expression scopes.

Alternate Designs

None.

Benefits

Leaves it up to the developer to decide whether or not trailing whitespace is bad.

Possible Drawbacks

None.

Applicable Issues

Fixes #51