Fix outdated msgpack-rpc doc.

Needed after neovim/python-client#58.
This commit is contained in:
Eliseo Martínez 2014-11-26 12:13:49 +01:00
parent 68fcd8b696
commit 2ff36db571

View File

@ -113,9 +113,8 @@ string 'hello world!' on the current nvim instance:
A better way is to use the python REPL with the `neovim` package, where API
functions can be called interactively:
>
>>> from neovim import socket_session, Nvim
>>> session = socket_session('[address]')
>>> nvim = Nvim.from_session(session)
>>> from neovim import attach
>>> nvim = attach('socket', path='[address]')
>>> nvim.command('echo "hello world!"')
<
==============================================================================