Merge pull request #1556 from elmart/fix-msgpack-rpc-docs

Fix outdated msgpack-rpc doc.
This commit is contained in:
Justin M. Keyes 2014-11-26 17:51:08 -05:00
commit 763b62698a

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 A better way is to use the python REPL with the `neovim` package, where API
functions can be called interactively: functions can be called interactively:
> >
>>> from neovim import socket_session, Nvim >>> from neovim import attach
>>> session = socket_session('[address]') >>> nvim = attach('socket', path='[address]')
>>> nvim = Nvim.from_session(session)
>>> nvim.command('echo "hello world!"') >>> nvim.command('echo "hello world!"')
< <
============================================================================== ==============================================================================