Fork me on GitHub

> cider-font-lock-as-clojure doesn’t use CIDER’s extra font lock rules. What’s the easiest way to make it do that?


Hmm, I never thought about this to be honest. Probably you’d need to enable cider-mode in some temp buffer and evaluate the code there to get the right font-locking.


I ended up making cider-var-info calls for each Var. This is slow but we only need to do build the source once (well, except for a little trickiness involving whether CIDER was jacked in or not). Unfortunately cider-var-info doesn’t return a type the way cider-apropos does, so I had to resort to some hack: This works 👌 for most things but not for e..g multimethods, which don’t return arglists for some reason.