Fork me on GitHub
#vim
<
2018-01-21
>
dave01:01:48

ah, nice

dominicm08:01:52

For vim, as there's no way to build an interactive REPL in a buffer (like emacs has) there's little point to unrepl integration until you have something to really evaluate.

dominicm08:01:00

There's some difficulty in parsing EDN responses of unrepl, which is why I was looking at a clojure based plugin, as it's edn reader is the OG

jebberjeb17:01:06

Anybody else looked at the neovim API for building external UI? This is really pretty cool & simple. https://github.com/neovim/neovim/blob/master/runtime/doc/ui.txt

dominicm17:01:13

I haven't yet. I had some thoughts about a good use-case the other day, but I cannot remember it now 😞

jebberjeb20:01:44

@dominicm implementing a javafx UI control backed by nvim has been a fun learning experience. I’ll probably write it up when I’m done. I looked at a lot of the other efforts out there and there’s a lot of different approaches. But essentially, if you use the UI api, you can subscribe to “redraw” events, which you can simply reduce over to update the matrix of text as you feed keys to neovim. All asynchronously.