mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #1556 from elmart/fix-msgpack-rpc-docs
Fix outdated msgpack-rpc doc.
This commit is contained in:
commit
763b62698a
@ -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!"')
|
||||
<
|
||||
==============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user