Fork me on GitHub
#emacs
<
2017-12-27
>
bozhidar13:12:12

I prefer to just have whitespace-mode colour differently parts of lines that go over certain limit. I’ve been using it for a very long time and this looks like a charm.

bostonaholic19:12:05

how do I add custom formatting rules when using cider? e.g. I have a macro that I want formatted similar to let

bostonaholic19:12:54

(let [foo 1]
  (prn "indented 2 spaces"))

(attempt-all [foo 1]
             (prn "indented to ["))

dpsutton19:12:21

it's actually in clojure mode is why you didn't find it i bet

bostonaholic19:12:05

yeah, I was looking in cider and cljfrmt

bostonaholic19:12:36

thanks @dpsutton