Fork me on GitHub
#conjure
<
2020-06-22
>
kishima14:06:07

Hello, I'm currently trying Conjure but can't load the current file to the REPL. Is there a command to do it or does the workflow with conjure goes differently?

Olical14:06:44

Hey! That should just be <localleader>ef by default, are you seeing any errors?

Olical14:06:15

There’s no command at the moment, although :lua require("conjure.eval").file() should also do the job, you could add a command that calls that.

kishima14:06:52

Hmmm, I get some errors from dependencies I'm using. Maybe I did not set up my REPL correctly

Olical14:06:53

Perhaps! That would be the first thing to check, see you if you can require your dependencies in the actual REPL first, that’ll give us a clue.

kishima14:06:31

Made it! I set it up wrong indeed. Was using the command

clojure -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
inside my lein project. But, since I actually have the project I should only run lein repl , hehe. Thanks man!

Olical15:06:42

Hooray! 🎉 also worth looking into using this for jack in support in neovim, I’ve going to start using it and promoting it with Conjure 🙂 https://github.com/clojure-vim/vim-jack-in

Olical15:06:31

Definitely worth others having a look into using vim-jack-in too! It looks like a great pairing with Conjure 😄

Olical18:06:01

👀

👀 3
Olical20:06:22

Yesssss, congrats and thank you 😄

Olical18:06:10

I've been enjoying vim-jack-in btw, I have a fork where I'll keep the versions bumped to my liking and PR across to the main repo https://github.com/Olical/vim-jack-in

dominicm22:06:12

Do you want commit rights?

dominicm22:06:23

I bump when I remember (not often)

Olical22:06:53

Oo, yeah, can do. Not planning on doing anything else to it, but happy to keep things up to date with stable. Could always start tagging releases too, like I do with Conjure etc.

dominicm23:06:34

I'll try and remember to add you

Olical18:06:46

I run :Clj then ,cf and I have a working REPL 😄

Olical18:06:29

Fixed a bug in "test this test form" on develop https://github.com/Olical/conjure/commit/e2b07b8341916318762d0068eaa86537540250ff I noticed that sometimes it'd be like "everything passed!" even if there were clearly issues. And it's due to the resolve returning nil (which I should throw on) because it's in the wrong namespace due to other evals.