JetBrains / la-clojure

Clojure plugin for IntelliJ IDEA
Apache License 2.0
220 stars 49 forks source link

Don't leave a space after keywords in a collection #51

Closed trptcolin closed 11 years ago

trptcolin commented 11 years ago

This addresses #49.

Alefas commented 11 years ago

Sorry for long response. Actually it would be much better to deal with particular element nodes (] and )), not just any LeafPsiElement. To do it, you can ask for any psi element getNode().getElementType().

You can fix it here, or I'll do it myself next week, when spend some time for Clojure plugin.

trptcolin commented 11 years ago

Go for it, I'll watch and learn.

Alefas commented 11 years ago

My changes: https://github.com/JetBrains/la-clojure/commit/b1ceb67ef2f7a3f8a1711815c92fd59a987f7ddf

trptcolin commented 11 years ago

Nice, thanks!