vim

FlavaDave 2025-03-08T01:48:56.693049Z

Cross-posting a https://clojurians.slack.com/archives/C02PR4GM873/p1741196711017899 in case anyone here has any ideas. Thanks in advance!

dominicm 2025-03-13T13:04:28.487729Z

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.

dominicm 2025-03-13T13:05:39.095329Z

ah, I'm lying / it's been removed.

dominicm 2025-03-13T13:06:15.421009Z

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.

dominicm 2025-03-13T13:06:40.996639Z

Although, I'm not sure why conjure wouldn't be async tbh. It should be, so maybe there's something else going on here.

dominicm 2025-03-13T13:07:11.906799Z

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)

dominicm 2025-03-13T13:07:22.777899Z

probably not used by conjure, but worth double checking!

FlavaDave 2025-03-13T15:13:20.831589Z

thanks for the help! I will look into this

dominicm 2025-03-13T15:13:55.689139Z

You're welcome. Report back with your findings!

dominicm 2025-03-13T15:14:05.316559Z

I'll be really interested to know what you find