vim-mode
vim-mode copied to clipboard
Suggestion: Use the msgpack-rpc 5 package
Most logic for talking to Neovim is wrapped into the msgpack5rpc package, maybe you can use it to simplify your code?
@tarruda That is a great idea. All of that msgpack code is adjusted for the old 'redraw-events' patch, but all of those tweaks are no longer needed. I'll try to use the msgpack5rpc library code to talk to neovim
@tarruda I've migrated to your msgpack5rpc. It seems to be faster to not open a connection for each message I send to neovim. It still doesn't feel as fast as the other clients, but I'm working on the speed.
@tarruda I've migrated to your msgpack5rpc. It seems to be faster to not open a connection for each message I send to neovim. It still doesn't feel as fast as the other clients, but I'm working on the speed.
:+1: I also plan to add a nvim layer(https://github.com/neovim/node-client) on top of msgpack5rpc that automatically generates a javascript API for neovim, once it's ready I will let you know