hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
189 stars 48 forks source link

defmain is not indented properly #69

Closed bennyandresen closed 6 years ago

bennyandresen commented 6 years ago

Right now the indentation looks like this:

(defmain [&rest args]
         (do-something-with args))

versus correct indentation is

(defmain [&rest args]
  (do-something-with args))

Source for correct indentation

ekaschalk commented 6 years ago

Woops I introduced a regression for def based functions that I didn't notice because I overwrite locally with some additional config.