vim-mode icon indicating copy to clipboard operation
vim-mode copied to clipboard

Suggestion: Use the msgpack-rpc 5 package

Open tarruda opened this issue 9 years ago • 3 comments

Most logic for talking to Neovim is wrapped into the msgpack5rpc package, maybe you can use it to simplify your code?

tarruda avatar Mar 22 '15 23:03 tarruda

@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

carlosdcastillo avatar Mar 23 '15 19:03 carlosdcastillo

@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.

carlosdcastillo avatar May 19 '15 16:05 carlosdcastillo

@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

tarruda avatar May 20 '15 01:05 tarruda