hmm, is there a good guideline how to debug coc/conjure autocompletion?
still having a problem?
Hmm do you have CIDER's middleware set up in your nREPL?
Because that's required for completion.
vlaaad/reveal {:mvn/version "1.3.193"}
564 nrepl/nrepl {:mvn/version "0.8.3"}
565 cider/cider-nrepl {:mvn/version "0.25.7"}
566 refactor-nrepl/refactor-nrepl {:mvn/version "2.5.0"}
I have those depencies, anything more is needed?
The dependencies are correct, but have you set the middleware when starting up your nREPL? https://docs.cider.mx/cider/basics/middleware_setup.html Not sure how you're starting your REPL, this might all already be done, but I just want to confirm.
Just adding the dependencies isn't enough. If you use something like https://github.com/clojure-vim/vim-jack-in you get all this set up for you.
The CIDER and nREPL websites have reaaaaly good documentation for all of this too, it's all just one liners that I copy from that website then project to project.
(again, you may have all of this set up, but I want to confirm that this core dependency is all okay before chasing down weirder bugs etc)
Iโll check the setup, that might be that
I need to add support for nREPL 0.8+'s built in completion without CIDER, but I just haven't sat down to do it. It's not as powerful, but it's a baseline that requires no extra deps which is cool.
Maybe in the next update, just publishing one now though ๐
This is my start-nrepl
function
(defn start-nrepl
[env-port]
(let [server-map (nrepl/start-server
:port (or env-port 0)
:handler (apply nrepl.server/default-handler
(-> (map #'cider.nrepl/resolve-or-fail cider.nrepl/cider-middleware)
(conj #'refactor-nrepl.middleware/wrap-refactor)
(conj #'portal.nrepl/wrap-portal))))
; (conj #'vlaaad.reveal.nrepl/middleware))))
port (:port server-map)
port-file (io/file ".nrepl-port")]
(.deleteOnExit port-file)
(spit port-file port)
(println (ansi/green (str "nREPL client can be connected to port " port)))))
Maybe that might be helpful ๐
I can see coc-conjure being a coc source for completion in :CocList sources
but donโt get any completion for eg (clojure.string/s
tried enabling let g:conjure#debug = v:true
nothing interesting shows up
:CocInfo
shows: