This page is not created by, affiliated with, or supported by Slack Technologies, Inc.


This only happens for .cljc files? Not .clj or .cljs?


not sure; 99% of my code is in *.cljc files


I'm starting to suspect it's something like the emacs message buffer getting too large over time or something else like that, i.e. some type of a mem leak


:smile: :smile: :smile:


Hmm, normally something like this shouldn’t be a problem. I never restart my Emacs for months at a time.


You can check with the Emacs Profiler what’s going on - it’s easy to use and quite helpful.


> 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 :ok_hand: for most things but not for e..g multimethods, which don’t return arglists for some reason.