Fork me on GitHub
#conjure
<
2020-12-30
>
jkrasnay20:12:47

I think the rename of master to main broke my Plug. Now :PlugStatus shows this:

x conjure:
    Ahead of origin/master by 42 commit(s).
    Cannot update until local changes are pushed.

jkrasnay21:12:40

I thought I might be able to fix it with git but it looks like the right version is checked out:

~/.local/share/nvim/plugged/conjure [(HEAD detached at v4.11.0)]
λ git status
HEAD detached at v4.11.0
nothing to commit, working tree clean

Olical00:01:33

So sorry about this, I thought GitHub would handle the redirection, I'll dig into what I can do tomorrow, I might just have to rename it back :(

jkrasnay13:01:32

No worries! It was certainly a well-intentioned change.

jkrasnay21:12:27

Anyone have any thoughts on how I might fix this?

dharrigan21:12:20

can you rename your branch?

dharrigan21:12:28

git branch -m master main

dharrigan21:12:40

then fetch again

jkrasnay21:12:25

Hrm, it didn’t seem to help; however, deleting conjure under ~/.local/share/nvim/plugged and re-running :PlugInstall seems to have cleared things up. Thanks!

dharrigan21:12:16

you're welcome!

Chase23:12:18

I'm messing around with this tutorial (I'm on this part: https://github.com/aliaksandr-s/prototyping-with-clojure/tree/master/app/chapter-03/end/visitera) and I can get everything connected and running (even datomic for the first time!) except for the cljs repl portion.

Chase23:12:47

This uses figwheel instead of shadow-cljs so I'm not sure what to do. I connect with ConjureConnect 7002 (the cljs nrepl started by figwheel) but it hooks me into a clj repl instead. I'm not sure what variable I am supposed to feed into ConjurePiggieback ... if that is what I should be doing instead. Figwheel says its on build: app, but ConjurePiggieback app gives me an unable to resolve symbol: app error

djblue02:12:19

I think you need to call ConjurePiggieback (figwheel.main.api/repl-env "app")

djblue02:12:40

Although it looks like the project uses lein-fighweel so you might need ConjurePiggieback (figwheel-sidecar.repl-api/repl-env "app") instead

Chase10:12:26

That worked! Thank you. I'm not sure I could have found that solution. I'm taking a screenshot. haha. Where did you find that?

djblue19:12:49

I don't remember exactly, maybe https://figwheel.org/docs/vim.html

djblue19:12:04

Sadly, I do think getting a cljs repl has always been a bit trickier than a clj repl