Fork me on GitHub
#cider
<
2018-12-27
>
macrobartfast07:12:22

I'm getting ‘cider-find-var’ requires the nREPL op "info". Please, install (or update) cider-nrepl 0.15.0-SNAPSHOT and restart CIDER

macrobartfast07:12:44

I don't have anything in my .lein/profiles.clj... should I? cider-connect and everything else works.

macrobartfast07:12:59

well, ok... added cider-nrepl 15 to .lein/profiles.clj and 'cider-find-var' now works. I guess that was it.

andrea.crotti11:12:26

is there a way to get leiningen to run a custom command after the Repl is started?

jumar00:12:59

What should be that custom command? Perhaps you can use :injections in your :repl profile

andrea.crotti14:12:53

@U06BE1L6T it's just a command to start all the integrant processes

andrea.crotti15:12:15

but the problem is that it should be called in the Clojure Repl but not in the Clojurescript Repl

andrea.crotti15:12:29

and they both initially do a lein repl to start so not sure how to distinguish them

andrea.crotti15:12:19

but well ideally it would just be a config like cider-clj-repl-form set to (go) for example (which however doesn't exist)

jumar15:12:05

I think reader conditionals could be useful and still manageable.

andrea.crotti15:12:06

mm not sure how

andrea.crotti15:12:20

both repl starts in the same way, then one runs figwheel

andrea.crotti15:12:29

and the other runs integrant

andrea.crotti15:12:42

but they are both clj repl at that point

andrea.crotti11:12:46

I can change the lein parameters with cider-lein-parameters but I need to be able to make it do something

andrea.crotti11:12:00

the other alternative could be maybe to send something to do the cider buffer directly and get it evaluated

bozhidar15:12:12

> well, ok... added cider-nrepl 15 to .lein/profiles.clj and ‘cider-find-var’ now works. I guess that was it. (edited)

bozhidar15:12:47

@macrobartfast Btw, 0.15 is pretty old at this point. Consider updating to a more recent version.