Fork me on GitHub
#vim
<
2017-08-27
>
captainlexington14:08:54

Anybody here? I've got some odd behavior with Vim Fireplace

captainlexington14:08:42

It seems hang every time I try to connect or eval, but it doesn't give me any errors - it just fouls up the rerendering of the windows. Ctrl + C kills it and then I can go back to using Vim, but no eval 😢

captainlexington15:08:12

After I kill it, I do sometimes get this error:

Error detected while processing function <SNR>49_printop[1]..<SNR>49_opfunc[35]..fireplace#client[8]..105[23]..<SNR>92_nrepl_eval

captainlexington15:08:48

I don't think it's a problem with the REPL connection, but with the output method. :Doc causes the same behavior

captainlexington16:08:24

I think it's Vim 8.0. My Ubuntu box has 7.4 and it works.

captainlexington16:08:07

But it's possible that the Arch versions and Ubuntu versions use different compiler flags. I'll investigate.

dominicm19:08:16

@captainlexington try echo fireplace#message({'op': 'eval', 'code': '(+ 1 1)'})

dominicm20:08:50

I just ported the cider info function to lua. I used urn & copy/pasted it. Ported a few functions & made a few tweaks. All works. Very happy with it. The idea of sharing code with cider.el is exciting as it minimizes work so much.