This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-20
Channels
- # aws-lambda (8)
- # beginners (37)
- # cider (43)
- # cljs-dev (12)
- # clojure (121)
- # clojure-italy (19)
- # clojure-nl (1)
- # clojure-poland (1)
- # clojure-russia (14)
- # clojure-spec (6)
- # clojure-uk (98)
- # clojurescript (28)
- # core-async (1)
- # cursive (7)
- # datomic (4)
- # emacs (63)
- # events (8)
- # fulcro (19)
- # graphql (4)
- # hoplon (3)
- # mount (1)
- # nrepl (101)
- # off-topic (15)
- # om (3)
- # pedestal (2)
- # portkey (31)
- # protorepl (2)
- # re-frame (26)
- # reagent (26)
- # reitit (2)
- # shadow-cljs (58)
- # spacemacs (8)
- # specter (5)
- # sql (56)
- # test-check (11)
- # tools-deps (48)
- # vim (52)
@danielsouzasevero what steps are you taking? what's your setup?
i'm using lein, i set it up using the config from the docs
:profiles {:dev {:dependencies [[cider/piggieback "0.3.1"]
[org.clojure/tools.nrepl "0.2.13"]]
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}})
i then open up a repl with lein repl
and run (cider.piggieback/cljs-repl (cljs.repl.nashorn/repl-env))
I then try to use it in nvim with usual commands like cqp
, but I keep getting that error.
@danielsouzasevero cider/piggieback isn't supported by fireplace, see my PR if you're determined to use it: https://github.com/tpope/vim-fireplace/pull/311 Alternatively, install 0.2.2 of com.cemerick/piggieback instead.
@dominicm should I change cider.piggieback/wrap-cljs-repl
to com.cemerick.piggieback/wrap-cljs-repl
also?
You don't need to call anything from lein repl
, once you've done lein repl
, you're good to go in vim
@danielsouzasevero cemerick.piggieback/wrap-cljs-repl
is the middleware, confusing, I know.
been using python for so long that I got used to conda
and never had to set anything up ever again, haha
very strange, tried to open the repl
now and got
Error loading cider.piggieback: Could not locate cider/piggieback__init.class or cider/piggieback.clj on classpath.
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: cider.piggieback/wrap-cljs-repl in this context, compiling:(/tmp/form-init8031655535709059011.clj:1:1446)
@danielsouzasevero modify your project.clj to have cemerick.piggieback/wrap-cljs-repl
in place of cider.piggieback/wrap-cljs-repl
they talk about PiggieBack here https://github.com/tpope/vim-fireplace#transparent-setup
I was planning on making parinfer-rust into an uber-plugin that did things like namespace tracking and fixes up copy/paste indent, and so on and so on, but I'm realizing this is a bad idea.
I imagine (this might not be well thought out) there is a place for a mega-plugin, but that it should be composed of single-feature plugins.
So, like, parinfer-rust should be an awesome parinfer plugin, but not do other things that other people might not want or might not work in their environment, so anyone who wants to use the feature can.
@eraserhd replant is about vim8 & neovim disagreeing on how to implement async mostly though. Making it smaller wouldn't help.
@eraserhd if you have recommendations, I'd be glad to hear them though. Replant is far from being above criticism.
Well, I suspect the best next step for everybody is to get async nrepl connections portably available. I've been thinking about whether fireplace or replant (or something else) is the right place to do that. I haven't looked at code yet, though.