From f7b5fd6f3f55cf7e48885852b1076de8cd18664c Mon Sep 17 00:00:00 2001 From: Eliseo Martínez Date: Sun, 2 Nov 2014 11:01:43 +0100 Subject: Fix warnings: Fix outdated doc: Connecting to nvim through python REPL. After neovim/python-client@b8b48bbe8fe9ee41ad73c9bd5a45e808504399e2, docs were no longer relevant. --- runtime/doc/msgpack_rpc.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/doc/msgpack_rpc.txt b/runtime/doc/msgpack_rpc.txt index 41f387b452..8e53241775 100644 --- a/runtime/doc/msgpack_rpc.txt +++ b/runtime/doc/msgpack_rpc.txt @@ -113,7 +113,9 @@ 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: > - >>> import neovim; nvim = neovim.connect('[address]') + >>> from neovim import socket_session, Nvim + >>> session = socket_session('[address]') + >>> nvim = Nvim.from_session(session) >>> nvim.command('echo "hello world!"') < ============================================================================== -- cgit