Fork me on GitHub
#conjure
<
2021-01-23
>
Olical12:01:01

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

Chase21:01:14

Great job! Thank you

Chase21:01:31

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

emilaasa06:01:16

Great - enjoyed peeking at the stream as well!

emilaasa06:01:49

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

Olical11:01:47

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.

dharrigan13:01:16

Will try it now

dharrigan13:01:48

Works great!

dharrigan13:01:35

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

Olical13:01:21

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!

Olical13:01:53

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

dharrigan14:01:46

Your keyboard is broken...

😅 3
dharrigan14:01:46

Anyone here play with reveal?

orestis16:01:02

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)

dharrigan17:01:41

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

dharrigan17:01:13

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)

orestis17:01:06

Yes, via an nrepl middleware

orestis17:01:31

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

dharrigan18:01:41

yeah, I have it setup similar.

dharrigan18:01:45

I don't want to see that output

orestis18:01:04

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

orestis18:01:24

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

dharrigan18:01:29

yes, I have that. going to experiment

dharrigan18:01:48

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

orestis19:01:06

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