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)
2020-08-27T19:26:47.037100Z

Workflow question here: When I encounter an exception raised by a spec-instrumentation failure, I typically want to immediately look at the ex-data. I know we can print the most recent exception with <leader>ve, however the ex-data is all on one line which, given the size of most spec-data failures, isn't an effective way to view the error. Right now I'm just writing and eval'ing (ex-data *e) in any buffer. Maybe this is really the easiest thing. I'd be happy to hear any other suggestions!

dave 2020-08-27T20:00:28.038200Z

eval-ing (ex-data *e) sounds reasonable to me. maybe you could set up a custom mapping, so that you don't have to type it out?

💯 1
Olical 2020-08-27T20:04:19.039Z

Hmm, I've never really hit this but as you say: Workflow. I'd personally end up creating my own mapping to :ConjureEval ... with some code that did what I wanted, but that's maybe a bit of a lazy excuse from me.

Olical 2020-08-27T20:05:03.039700Z

You could even extract that data and run it through "explain", right?

Olical 2020-08-27T20:05:09.039900Z

Which could be a really nice custom mapping!

Olical 2020-08-27T20:05:20.040200Z

(I really want to encourage custom mappings that do exactly what you want)

💯 1
Olical 2020-08-27T20:13:44.040900Z

Also, here's a video of a stream I did earlier! Just a little nvim config changes as well as Conjure fixes and improvements https://www.youtube.com/watch?v=SMrN5KQo-eA

💯 4
👏 3
Olical 2020-08-27T20:13:55.041300Z

I implemented auto connect on eval! It was harder than I thought!

Olical 2020-08-27T20:14:10.041600Z

You can see my struggle and eventually throw out one approach!

👀 1