Fork me on GitHub
#vim
<
2019-06-10
>
lxsli06:06:19

@dominicm Did you say gfredericks/debug-repl worked for you in Vim? Was that with Fireplace? https://github.com/gfredericks/debug-repl/issues/10

dominicm06:06:28

@alee yup, it works

dominicm06:06:52

That error message means it worked

lxsli07:06:40

I was testing with some code like (let [x 42] (break!)). x didn't eval to 42 after the error though?

lxsli07:06:44

Let me just try this again... it was Friday afternoon...

lxsli07:06:17

Yeah, using this:

(require '[com.gfredericks.debug-repl :refer [break! unbreak!]])

(let [x 42]
  (break!))

(identity x)

lxsli07:06:02

If I eval each form in turn, I get no result from the last form. If I try to eval it again, I get a standard Unable to resolve symbol: x in this context

dominicm07:06:49

Are you using :Eval or cpp?

dominicm07:06:01

(Try the other)

dominicm07:06:15

And then if I'm right I think I know the bug

lxsli07:06:37

Yep, :Eval x works

lxsli07:06:26

So I guess I could rebind cpp to yaf:Eval ^R"<CR> 😂

lxsli07:06:26

Turns out this is what cqq does >.>

lxsli07:06:12

which also works with debug-repl

dominicm07:06:17

The bug is related to sessions

dominicm07:06:58

cpp spawns a new session which inherits, and Eval doesn't. I think debug-repl isn't respecting inheritance

dominicm07:06:23

I remember seeing something in the code which looked fishy in this regards

lxsli07:06:11

OK thanks - I'll say so on my github issue 🙂

Olical12:06:39

As mentioned in #announcements, Conjure v0.18.0 is out including declarative prepl connections through .conjure.edn files https://github.com/Olical/conjure No more custom mappings or ConjureAdd calls. You can configure your project, start your prepl and open Neovim. Conjure will connect to whatever is running and skip anything that isn't. Feedback is appreciated 😄

🎉 4