aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-11-26 12:13:49 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-11-26 12:13:49 +0100
commit2ff36db5717500e0b74ff0e2f4f54771fa1bc393 (patch)
treeb0914f3bbae7efbac4f7af5900f035e75bb05e4b
parent68fcd8b696dae33897303c9f8265629a31afbf17 (diff)
downloadrneovim-2ff36db5717500e0b74ff0e2f4f54771fa1bc393.tar.gz
rneovim-2ff36db5717500e0b74ff0e2f4f54771fa1bc393.tar.bz2
rneovim-2ff36db5717500e0b74ff0e2f4f54771fa1bc393.zip
Fix outdated msgpack-rpc doc.
Needed after neovim/python-client#58.
-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!"')
<
==============================================================================