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)
Olical 2021-01-23T12:56:01.003100Z

I just pushed "eval into a comment at the end of the line" (catchy) to the develop branch of Conjure, please do check it out and let me know what you think! https://asciinema.org/a/bpTmCeBVZ0Y0Lj2IoI3CqdpfO

emilaasa 2021-01-25T06:23:16.018500Z

Great - enjoyed peeking at the stream as well!

emilaasa 2021-01-25T06:23:49.018700Z

I've used the feature now for an hour and havent managed to break it yet =)

Olical 2021-01-26T11:04:54.024600Z

Nice!!

Olical 2021-01-26T11:05:47.024800Z

And yeah sorry I didn't mention, it's in :h conjure but it's a little non-obvious. This will almost definitely change once before release since I want to add more cases, so it'll probably be <prefix>ece for current form <prefix>ecw for current word and <prefix>ecr for root form soon-ish.

dharrigan 2021-01-23T13:20:16.003400Z

Will try it now

dharrigan 2021-01-23T13:22:48.003600Z

Works great!

dharrigan 2021-01-23T13:23:35.004100Z

It's great being able to put a comment after the eval, keeps a track of the evaluation when playing around

Olical 2021-01-23T13:25:21.004700Z

Not something I ever knew existed until you lots pointed it out, so thanks 🙂 it's a cool concept, I hope my implementation works well!

Olical 2021-01-23T13:25:53.005200Z

I streamed the development here https://www.twitch.tv/videos/884720908 (this feature was in the last hour)

dharrigan 2021-01-23T14:07:46.005800Z

Your keyboard is broken...

😅 1
dharrigan 2021-01-23T14:08:46.006Z

Anyone here play with reveal?

orestis 2021-01-23T16:56:02.008100Z

I did try reveal, not really knowing what to expect... it’s nice! It replaces for me the REPL output of conjure. It would be nice to be able to use it as a nvim window (or embed nvim inside a javafx app, hmmmm)

orestis 2021-01-23T16:57:27.008400Z

Haha here you go https://github.com/jebberjeb/javafx-neovimpane

dharrigan 2021-01-23T17:08:41.009300Z

Do you get the whole communication to nrepl in the reveal window?

dharrigan 2021-01-23T17:09:13.009900Z

if, for example, you eval a buffer, the entire buffer contents are shown in reveal (which I think is the communication from Conjure to the nrepl)

orestis 2021-01-23T17:28:06.010700Z

Yes, via an nrepl middleware

orestis 2021-01-23T17:28:31.011300Z

I will have to sit down and rethink my tools usage on of these days.

dharrigan 2021-01-23T18:02:41.011500Z

yeah, I have it setup similar.

dharrigan 2021-01-23T18:02:45.011700Z

I don't want to see that output

orestis 2021-01-23T18:07:04.012700Z

At you mean the evaluated form? Hm that’s interesting yeah, I can see that eg when evaling a large function it just scrolls away

orestis 2021-01-23T18:26:24.013400Z

Portal is another interesting inspector tool that is just about inspecting values via tap

dharrigan 2021-01-23T18:56:29.013800Z

yes, I have that. going to experiment

dharrigan 2021-01-23T18:56:48.014300Z

Yeah, I would only want the tap to be output to reveal and not the forms

orestis 2021-01-23T19:29:06.015100Z

You can do that, I think you just don’t setup the nREPL middleware and use tap>

Chase 2021-01-23T21:37:14.015700Z

Great job! Thank you

Chase 2021-01-23T21:38:31.015900Z

The default command is <localleader>ec for folks coming across this. I couldn't quite make out the keystrokes you were using in the vid