Fork me on GitHub
#spacemacs
<
2020-08-18
>
mafcocinco15:08:12

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.

practicalli15:08:13

I assume this would just need some formatting rules applied, rather than a layer. Or if more complex, then an Emacs package for Datomic.

practicalli15:08:38

The only datomic specific package I have seen is https://github.com/magnars/datomic-snippets

mafcocinco16:08:51

Yes, i think it is mostly/exclusively formatting. I’ll check out the snippets package. Thanks for your help!

practicalli16:08:50

Would be interesting to hear if you add any configuration. I will be doing Datomic work later in the year.

zane16:08:30

I’d be curious to hear how your preferred formatting for queries departs from clojure-mode’s default indentation!

mafcocinco18:08:08

Just one specific place that I have seen, and maybe there is a work around. This is it: