This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-27
Channels
- # bangalore-clj (2)
- # beginners (41)
- # cider (14)
- # cljs-dev (12)
- # cljsrn (2)
- # clojure (106)
- # clojure-austin (6)
- # clojure-dev (22)
- # clojure-dusseldorf (1)
- # clojure-france (1)
- # clojure-greece (17)
- # clojure-italy (6)
- # clojure-poland (3)
- # clojure-russia (10)
- # clojure-serbia (5)
- # clojure-spec (24)
- # clojure-uk (100)
- # clojurescript (126)
- # cursive (3)
- # data-science (5)
- # datascript (15)
- # datomic (3)
- # defnpodcast (2)
- # dirac (6)
- # emacs (10)
- # fulcro (121)
- # graphql (30)
- # hoplon (7)
- # jobs (2)
- # leiningen (20)
- # off-topic (14)
- # onyx (3)
- # other-languages (13)
- # pedestal (1)
- # perun (2)
- # planck (41)
- # re-frame (16)
- # reagent (6)
- # reitit (5)
- # remote-jobs (3)
- # ring (1)
- # ring-swagger (17)
- # shadow-cljs (137)
- # spacemacs (6)
- # sql (4)
- # uncomplicate (7)
- # unrepl (56)
- # vim (27)
I have (setq cider-cljs-lein-repl "(do (ns boot.user) (start-repl))")
in my init.el. But when I do cider-create-sibling-cljs-repl
I get
> Wrong type argument: stringp, nil
@qqq I have this in ~/.boot/profiles.boot:
(require ‘boot.repl)
(swap! boot.repl/*default-dependencies*
concat ’[[cider/cider-nrepl “0.15.1-SNAPSHOT”]
[refactor-nrepl “2.4.0-SNAPSHOT”]
])
(swap! boot.repl/*default-middleware*
conj
’cider.nrepl/cider-middleware
’refactor-nrepl.middleware/wrap-refactor)
@borkdude If it used to work, ignore me. I'm just a bit confused because:
- you've set it for lein, but you're using boot
- you're doing ns boot.user
but that would wipe the ns
@dominicm This is from my setup a year ago. Things might have changed since then. For boot projects you had to use this variable too, as there wasn’t a separate one for boot.
(defcustom cider-cljs-boot-repl "(do (require 'adzerk.boot-cljs-repl) (adzerk.boot-cljs-repl/start-repl))"
"Clojure form that returns a ClojureScript REPL environment.
This is only used in boot projects. It is evaluated in a Clojure REPL and
it should start a ClojureScript REPL."
:type `(choice ,@(seq-map (lambda (x) `(const :tag ,(apply #'concat (cdr x)) ,(car x)))
cider--cljs-repl-types)
(string :tag "Custom"))
:safe (lambda (x) (assoc x cider--cljs-repl-types))
:package-version '(cider . "0.15.0")
:group 'cider)
@richiardiandrea added this recently
Yeah that should work