mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
68fcd8b696
commit
2ff36db571
@ -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