News for hackers. Stuff that matters.
Re:Better Clojure formatting by kazinator on Saturday December 08, 2018 @12:44AM (#18634100)
Even the basic lisp mode in Vim recognizes the difference. There is a :set lispwords=... list of symbols that are operators. They get indented like this:

  (lispword a b c
    d e f
    g h)
whereas symbols not in the set like this:

  (not-lispword a b c 
                d e f)
This is important so we don't end up with this:

  (let ((x y))
       form
       form)
or, vice versa, this:

   (list (item 1) (item 2)
     (item 3) (item 4))

There are no comments on this comment yet.