Cross-posting a https://clojurians.slack.com/archives/C02PR4GM873/p1741196711017899 in case anyone here has any ideas. Thanks in advance!
I vaguely recall that cider-nrepl's completion does have some datomic specific handling. I don't think it's the keys necessarily, those should be interned automatically and cheaply like all other keywords (we have 1000s at work), but there was something else in there. 1 sec.
ah, I'm lying / it's been removed.
here are your sources: https://github.com/clojure-emacs/cider-nrepl/blob/69f4b18317328a5e87a42e01dc335f4acd554f3d/src/cider/nrepl/middleware/complete.clj#L25-L35
Something you could try is to override via alter-var-root the clj-sources list to remove keywords and see if that dramatically fixes it for you.
Although, I'm not sure why conjure wouldn't be async tbh. It should be, so maybe there's something else going on here.
ah, the datomic thing is inputs to the datomic query for function completion: https://github.com/clojure-emacs/cider-nrepl/blob/69f4b18317328a5e87a42e01dc335f4acd554f3d/src/cider/nrepl.clj#L238 (kinda)
probably not used by conjure, but worth double checking!
thanks for the help! I will look into this
You're welcome. Report back with your findings!
I'll be really interested to know what you find