LightTable / Clojure

Light Table Clojure language plugin
MIT License
99 stars 47 forks source link

Indentation changes for Clojure mode #67

Closed cldwalker closed 8 years ago

cldwalker commented 8 years ago

From https://github.com/LightTable/LightTable/issues/1782:

I've noticed that Clojure code gets indented in LT the same way it's indented (or was) by Emacs's clojure-mode. Unfortunately some of the indentation stuff you copied were actually bugs in clojure-mode (that were recently fixed in version 4.0) - like the indentation of cond (which should use 2 spaces) and threading forms, which should be indented like:

(-> a
  b
  c)

instead of:

(-> a
    b
    c)
cldwalker commented 8 years ago

As discussed here, blocked by #26

carocad commented 8 years ago

26 is already closed. should this still be opened or blocked at all?

kenny-evitt commented 8 years ago

@bbatsov Please comment if this should still be open.