aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-11-26 17:51:08 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-11-26 17:51:08 -0500
commit763b62698a4b249debc2c0f9abb9869f7dd669ec (patch)
treeb9464deb28941fc5a2fb07d1ed9c880d08a563a0
parent7bf6d6fb256415dc5860da0b82c5695a84054cdd (diff)
parent2ff36db5717500e0b74ff0e2f4f54771fa1bc393 (diff)
downloadrneovim-763b62698a4b249debc2c0f9abb9869f7dd669ec.tar.gz
rneovim-763b62698a4b249debc2c0f9abb9869f7dd669ec.tar.bz2
rneovim-763b62698a4b249debc2c0f9abb9869f7dd669ec.zip
Merge pull request #1556 from elmart/fix-msgpack-rpc-docs
Fix outdated msgpack-rpc doc.
-rw-r--r--runtime/doc/msgpack_rpc.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/doc/msgpack_rpc.txt b/runtime/doc/msgpack_rpc.txt
index 8e53241775..0fb419e5d5 100644
--- a/runtime/doc/msgpack_rpc.txt
+++ b/runtime/doc/msgpack_rpc.txt
@@ -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!"')
<
==============================================================================