Fork me on GitHub
#vim
<
2017-02-14
>
dominicm09:02:52

I think an async nrepl client could be built which uses JSON + Channels, I think that would work in both neovim & vim8 (with a little patching over the job stuff in vim8)

hkupty13:02:13

@dominicm I have the impression that mantaining both is somewhat difficult...

hkupty13:02:32

This is why I focused on neovim when I started acid.nvim

dominicm13:02:37

@ingvij it would work if there was a command which just did line-by-line output from the nrepl, I think this is technically what fireplace does.

dominicm13:02:53

The part that's missing is that you'd need to use channels to do a on_message handler type thing.

hkupty13:02:04

I'm not very familiar with the channels architecture of vim, but it seems to me that some abstraction layers must be built to solve the discrepancies

hkupty13:02:27

Even for pure vimL code it seems to be complicated

dominicm13:02:55

There is something which lays over the difference between channels & jobs as a plugin.

dominicm13:02:37

Most plugins written for vim8 channels have been ported to neovim this way (e.g. ALE)