Open negatethis opened 1 year ago
Hm not sure what exactly is going wrong, it could be the ^:figwheel-hooks
confusing the namespace name extraction code. I've updated the code that threw that error so it'll handle nil values properly now which might fix it or at least work around the issue.
Might need to update some namespace extraction code though, I actually thought it already handled this sort of metadata in the ns block, but maybe not!
NVIM: v0.8.3 Clojure CLI: version 1.11.1.1224 Conjure: latest release
I'm trying to use Conjure on NVIM to develop ClojureScript, and it works okay, except I can't get detailed suggestions for any ClojureScript-related libraries.
I set up a project in the following way, using the figwheel setup guide to help me.
First, I created a new
figwheel-main
project namedtestname/testproject
:Then I downloaded the example
nrepl.clj
from the setup guide tosrc/figwheel/nrepl.clj
changed mydeps.edn
to resemble the one from the guide:With the setup done, I start an nREPL session with
clj -M:fig:nrepl
.With the nREPL session running, I open
src/testname/testproject.cljs
in Neovim and connect to the ClojureScript REPL with the command:ConjurePiggieback (figwheel.main.api/repl-env "dev")
.I can write ClojureScript and evaluate things perfectly. If I evaluate the following code:
and I begin to type
(goog.)
, I get a list of top-level suggestions, such asgoog.Uri
,goog.dom
,goog.array
, etc. However, upon typing(goog.dom/)
, suggestions do not appear and I get the following error in my nREPL window:Any ideas how I can diagnose the issue or it can be fixed? Thank you!