Just curious: has anyone written or know of a layer for Datomic
? I’m not sure all what would be involved but there are some tabbing/formatting considerations, specifically in the area of :where
clauses on queries that would be useful.
I assume this would just need some formatting rules applied, rather than a layer. Or if more complex, then an Emacs package for Datomic.
The only datomic specific package I have seen is https://github.com/magnars/datomic-snippets
Yes, i think it is mostly/exclusively formatting. I’ll check out the snippets package. Thanks for your help!
Maybe this will be helpful https://docs.cider.mx/cider/0.26/indent_spec.html
Would be interesting to hear if you add any configuration. I will be doing Datomic work later in the year.
I’d be curious to hear how your preferred formatting for queries departs from clojure-mode
’s default indentation!
Just one specific place that I have seen, and maybe there is a work around. This is it: