conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
djblue 2020-12-31T02:24:19.352900Z

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

djblue 2020-12-31T02:26:36.354200Z

If I have two sessions, one for clj and another for cljs. Can I auto switch session between them for clj/cljs files?

djblue 2020-12-31T02:31:40.354300Z

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

dave 2020-12-31T21:22:07.358300Z

@olical heads up, it looks like the master -> main transition made it so that i had to intervene manually in order to update via vim-plug i ran :PlugUpdate today and conjure was not included in the updates, even though it should have been included i have the plugin specified in my vimrc as:

Plug 'Olical/conjure'
so i think what happened is, even though i didn't explicitly specify to track master, i already had the repo cloned in my ~/.vim/bundle directory tracking the master branch, and i think vim-plug is essentially just cd-ing into that directory and running git pull. and git pull would just pull and see that there are no new commits on master you might want to make sure people are aware of this change, because apparently some manual intervention is needed in order to get versions newer than the last commit on what was origin/master

dave 2020-12-31T21:22:43.358700Z

i'm going to delete and re-install conjure, just to be sure that future updates will work

dave 2020-12-31T21:23:34.359400Z

interesting! upon running :PlugInstall, i got this error:

x conjure:
    fatal: invalid reference: master
so apparently vim-plug defaults to master?

dave 2020-12-31T21:23:39.359600Z

guess i'll have to specify to track main

dave 2020-12-31T21:25:29.361200Z

i realize i'm doing something other than what the README says to do 🙂 the README says to specify the plugin as:

Plug 'Olical/conjure', {'tag': 'v4.11.0'}
i've always figured master/main is stable enough, and if an update does cause breakage (which happens only rarely), i know i can always come here for help

Olical 2021-01-03T00:16:27.361900Z

Oh no, that's awful, thank you for the heads up. I could've sworn I read that GitHub will handle the redirection on their end in a blog post :(

Olical 2021-01-03T00:16:34.362100Z

I'll look into it tomorrow

dave 2021-01-03T03:53:42.362500Z

I think the issue might be more to do with how vim-plug updates existing plugins

Olical 2021-01-03T10:13:31.364100Z

Poooosibly, although I think it's a git thing really. If vim-plug did a harder reset it'd probably be okay but maybe have other tradeoffs.

Olical 2021-01-03T10:13:52.364300Z

I'll make an announcement about it at least

Olical 2021-01-03T10:13:56.364500Z

I should've checked first!

Olical 2021-01-03T10:15:01.364900Z

Oh!

Olical 2021-01-03T10:15:07.365100Z

vim-plug defaults to master I see

Olical 2021-01-03T10:15:27.365300Z

You know what, I'm going to swap it back, I know it'll be annoying for you and @jkrasnay but I should've researched this

Olical 2021-01-03T10:15:40.365500Z

It's caused a bunch of issues, not worth it right now.

2021-01-03T13:06:35.368600Z

I agree with @dave, I think this is more about vim-plug. I’m still not sure what the problem was. Plug had checked out the v4.11.0 tag, so I’m not sure why it cared what another branch was called.

2021-01-03T13:07:45.368800Z

Maybe when I switched to v4.11.0 it assumed that I was coming from master and tried to analyze that, even though I was really coming from another tag.

dave 2020-12-31T21:26:06.361400Z

Plug 'Olical/conjure', {'branch': 'main'}
did the trick