Fix warnings: Fix outdated doc: Connecting to nvim through python REPL.

After neovim/python-client@b8b48bbe8f,
docs were no longer relevant.
This commit is contained in:
Eliseo Martínez 2014-11-02 11:01:43 +01:00
parent bc1b9c1d90
commit f7b5fd6f3f

View File

@ -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!"')
<
==============================================================================