From 2ff36db5717500e0b74ff0e2f4f54771fa1bc393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eliseo=20Marti=CC=81nez?= Date: Wed, 26 Nov 2014 12:13:49 +0100 Subject: [PATCH] Fix outdated msgpack-rpc doc. Needed after neovim/python-client#58. --- runtime/doc/msgpack_rpc.txt | 5 ++--- 1 file 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!"') < ==============================================================================