Closed justinmk closed 5 years ago
Sorry I've been out of town, I'll look into this in the next few days
@justinmk Not sure if I'm reading this correctly, but is the method spec always hardcoded to "poll", "specs", and "shutdown" even for remote plugin hosts? Looking at this: https://github.com/neovim/pynvim/blob/4dd9962c47bc9d48dc01d7cdf99e3c9819e97548/pynvim/plugin/host.py#L23
@alexgenco for non-host client, pynvim sends {}
for the method spec. I'm not sure if that should be changed, I didn't think about it much.
resolved in https://github.com/neovim/neovim-ruby/pull/61
Forgot to release this until just now: https://rubygems.org/gems/neovim/versions/0.8.1
Nvim 0.3.2+ has
nvim_set_client_info
API method, so that clients can provide hints about their identity and purpose.Example from pynvim https://github.com/neovim/pynvim/pull/350 host (later enhanced in https://github.com/neovim/pynvim/pull/399):
nvim_list_chans()
or listen toChanInfo
/ChanOpen
.Currently pynvim seems to only identify if the "host" is used