Hi folks, just curious if anyone knows of a completion plugin for Janet? Also amazing work on Conjure Olical! I haven't checked in a while and it's come a long way
Hmm I haven't heard of one :thinking_face: I'd imagine the Janet gitter would be the place to ask, I'd be very into integrating it into Conjure if there is one!
1👍1🙏I think the thing I've recommended in the past is replacing the mapping with your own that hits <c-w><c-p>
after the new log window mapping. If this becomes something a buuunch of people want I could add an option for it but I'm on the fence about that.,
I'm pretty sure someone did this :thinking_face:
Alas it's lost to slack deleting messages forever plzeveryoneusediscordthanks
Open to strong suggestions for config though
Hmm I haven't heard of one :thinking_face: I'd imagine the Janet gitter would be the place to ask, I'd be very into integrating it into Conjure if there is one!
1👍1🙏Yeah, I'd also be hesitant to add that as a conjure option. I was curious if there was a plain 'ol vim option I was missing. I'm sure c-w,c-p will just become muscle memory
Sadly not, Conjure does the simplest possible thing right now, I tried to keep it vanilla so your autocmds etc all work as expected, the more magic I get the more risk to your normal ideas of how nvim works. Like old Conjure had delays between things that shouldn't have delays because I was waiting for RPC messages to async deliver, complete and return before sending the next message that depended on that result. Now I can do batch operations that block where required 😄
1💯I'm going to (I keep saying this but I will do eventually, just too much to do and prioritising) add custom autocmds that you can hook into for this sort of thing. So you could say "on split open go to prev window" or whatever.
I want to add autocmds for connect/disconnect/evals/results, all sorts! Then you can get creative rather than relying on me adding 100s of options for every occasion 😅
Options are growing at a steady rate but sustainable for now. I just can't ever take them away really, so I've got to be careful that I only add what should exist theoretically forever.
1💯looks great!
"no is temporary, yes is forever" 🙂
Hah thanks, it's VERY rough, just wanted it to link out to things really, I'll make it actually have content and think about a layout some day
Now that nrepl 0.8 is out, will this have any bearance on Conjure?
Yep! It's on my to-do list to integrate the new built in info and completion ops when they're present. It should just seamlessly start working when I get around to it
Updating now should be fine too
If they use the same op as cider and it's the same args / return then it may already work!
What I'm expecting to see is basic completion / go to def etc without CIDER middleware
That's neat. I inject middlewear on clj startup
if I don't have to, then that'll shave off some startup time
I'd still recommend it for smarter tools tbh, I think what was added was simpler / feature packed? So it's awesome that it's there for quick one off things, but for your daily driver I feel like you'd still want CIDER?
np
I'll keep it in, not breaking anything 🙂
i'm updating my nrepl-server
alias to use nrepl 0.8. i'll report back if i run into anything weird!
Awesome, thanks! I had a look and the new ops won't work without some work on my side, but it shouldn't be too hard.
I'm hoping they're 100% compatible, just less powerful
Is this the current recommended path for us to connect to REBL? https://github.com/RickMoynihan/nrebl.middleware
I haven't tried, but, yes 😄
Whatever the answer is for nREPL + REBL, I'd suggest leaning on it
🙏
If it works well, I'd love to see / hear about it 😄
I could never get it working well with prepl
interesting! I would have thought it was easier back then. I actually first found Conjure because I was searching for approaches to connecting to REBL whilst vimming
I have a working rebl setup
Hah neat, well I got rebl working with old conjure through duct tape (I felt), plugging into nREPL feels like a much more solid approach.
I really didn't like the hooks system in old conjure in the long run 😬
Yes, this one plugs into the nrepl seutp