This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-18
Channels
- # beginners (56)
- # boot (1)
- # cider (96)
- # cljs-dev (148)
- # clojure (60)
- # clojure-austin (11)
- # clojure-france (2)
- # clojure-italy (5)
- # clojure-russia (11)
- # clojure-spec (31)
- # clojure-uk (5)
- # clojurescript (52)
- # community-development (37)
- # cursive (3)
- # data-science (8)
- # datomic (14)
- # devcards (2)
- # emacs (1)
- # fulcro (13)
- # hoplon (1)
- # immutant (2)
- # luminus (3)
- # off-topic (2)
- # onyx (16)
- # parinfer (38)
- # re-frame (8)
- # reagent (5)
- # shadow-cljs (332)
- # spacemacs (5)
- # specter (5)
- # sql (6)
- # vim (52)
hi, i’ve been trying to get code completion working with either lein figwheel or boot cljs with no success this is using vim anyone managed to get this working? seems to be fine for standard clojure, but clojurescript seems to fail. i think it’s something to do with integration between fireplace and the clojurescript repl i can evaluate the code, but just can’t seem to get the inline docs or code completion to work
@christopher.paul are you using cider?
i’ve just added the cider nrepl
and it seems to be working now with figwheel
i’d been trying before with boot cljs-repl
but that never seemed to work and feels buggy
figwheel seems to be working now though!
@christopher.paul ime the boot-cljs-repl is more reliable. Boot needs setting up differently in order to use cider-nrepl.
i prefer the look of boot over lein, feels abit like gulp vs grunt
yea i’ve been through all that
i’d rather use boot tbh
first i was trying vim, no luck
so then i tried neovim with decomplete and the cider repl
no luck also
so maybe now i’ll try standard vim again with cider repl with boot
i was following this guide: https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-02.md
if i run that, i think it runs a repl as part of that task
:Piggieback (adzerk.boot-cljs-repl/repl-env)
that’s the right command ?
it seems to be working for me now
i was at it for hours yesterday
maybe it was an issue with neovim
i’m a java dev atm, so code completion feels important to me at the moment
maybe when i’m a bit more knowledegable in cljs i won’t need it so much
do you use that with deocopmlete?
*deocomplete
were there any other plugins that you had to install to get it working?
also another problem i seem to be having is if i close the vim editor, i lose my connection to the cljs repl
and the only way to get it back seems to be to kill the boot repl -c job and also the cljs-repl task
if you try to re-piggieback once the page has been open, it seems to ignore it
i mean in a new vim session
have you had the problem above? if you close a vim session, you can’t reconnect to the repl?>
I think I sometimes have issues with it and have to restart the page. It might be because of where reload is though.
yea its like something gets registered and not deregistered
its the boot repl -c job
seem to have to kick it if i close vim
then also refresh the page