Expected behavior
I expect to be able to send expressions from a .cljs file in clojurescript-mode to an nbb nrepl server.
Actual behavior
Nothing happens until I activate clojure-mode in a .cljs file.
Steps to reproduce the problem
npm install -g nbb
nbb nrepl-server :port 1338
Then cider-connect from emacs to that server and try to evaluate some expressions from a .cljs file:
foo.cljs:
(defn version []
js/process.version)
(version)
(require '["fs" :as fs])
(fs/existsSync "README.md")
(fs/existsSync "README2.md")
(require '[clojure.string :as str])
(first (str/split js/process.env.PATH ":"))
Environment & Version information
CIDER version information
Include here the version string displayed when
CIDER's REPL is launched. Here's an example:
;; Connected to nREPL server - nrepl://localhost:1337
;; CIDER 1.2.0snapshot (package: 20210914.1315)
Emacs version
27.2
Operating system
macOS
Expected behavior
I expect to be able to send expressions from a
.cljsfile inclojurescript-modeto an nbb nrepl server.Actual behavior
Nothing happens until I activate
clojure-modein a.cljsfile.Steps to reproduce the problem
Then
cider-connectfrom emacs to that server and try to evaluate some expressions from a.cljsfile:foo.cljs:
Environment & Version information
CIDER version information
Include here the version string displayed when
CIDER's REPL is launched. Here's an example:
Emacs version
27.2
Operating system
macOS