Fork me on GitHub
#cider
<
2023-05-03
>
cjohansen06:05:52

I have some macros whose name starts with def, e.g. defpage. These used to be colored like def, but after I installed a newer cider they don’t. I have cider-20230426.1815. Is this expected behavior?

OknoLombarda07:05:40

Yeah, that's expected, but that comes from clojure-mode. It had no way of figuring out which form is a def form and which one is not, so all forms that started with def were specially colored. This led to cases where forms like (default-something...) were colored the same way as a def form. Now only a known preset of def forms are colored, but it can be manually extended https://github.com/clojure-emacs/clojure-mode#font-locking

cjohansen07:05:01

Awesome, thanks 👍