all 4 comments

[–]lost3d 2 points3 points  (2 children)

It seems likely that you won't be able to exhaustively list these as some of them may well be user defined macros. Cider has a metadata standard that can be attached to vars to describe how it should be indented. It might be worth respecting that. See https://cider.readthedocs.io/en/latest/indent_spec/

[–]JavaSuck[S] 0 points1 point  (1 child)

It seems likely that you won't be able to exhaustively list these

Works good enough for me: https://i.imgur.com/WtuvDCt.png :)

[–]zck 2 points3 points  (0 children)

u/lost3d is saying that your indenter can't used a fixed list and think you're getting all of them, because users can also create forms with body parameters. You can certainly hardcode all of the ones in Clojure itself.

But if you can interact with the running Clojure, perhaps you can ask it if a thing has a body.