Fork me on GitHub
#cider
<
2017-10-09
>
achikin12:10:00

Hi! I'm using cider with re-frame and figwheel, so I have a lot of definitions like (reg-sub :my-event ...) is there any way to navigate to that keywords using cider?

jumar12:10:34

@achikin how about "smart search" via SPC * or SPC / ?

achikin12:10:59

Yes, that works great, but I'd prefer "go to definition"

bigdaddys1oth15:10:56

So with cider there's a function you can add to you config file named cider-annotate-completion-function and it says that the 2 arguments it takes are the abbreviations from cider-completion-annotations-alist (I configured that already) and the namespace that candidate is from. So do I put (cider-annotate-completion-function "c" "clojure.core") etc etc?