emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2020-06-24T11:24:44.485500Z

dear all, whether cider-nrepl support ring? When I start ring server with this option:

:ring {:handler km.core/app
         :nrepl {:start? true}}
Then I cider-connect-clj to the nrepl, the code completion is not working.

dpsutton 2020-06-24T12:45:16.486200Z

This is using lein ring-server?

2020-06-24T12:46:44.486500Z

Yes. I'm using lein ring server-headless to start the server and nrepl

dpsutton 2020-06-24T12:47:53.488100Z

Unfortunately that plugin injects nrepl version 0.3.2 I think. Currently version 0.7 is out. There’s an open issue to fix this

2020-06-24T12:49:23.488300Z

Thanks. I got the issue: https://github.com/weavejester/lein-ring/issues/202

dpsutton 2020-06-24T12:57:54.488600Z

(when @env/dev?
      (nrepl.server/start-server :bind "0.0.0.0" :port nrepl-port
                                 :handler cider-nrepl-handler)
      (println "[INIT] nrepl started on port" nrepl-port))

dpsutton 2020-06-24T12:58:32.488800Z

with requires on [cider.nrepl :refer [cider-nrepl-handler]] and nrepl.server

2020-06-24T13:29:00.489Z

Thank you, I will try this solution.