mirror of
https://github.com/neovim/neovim.git
synced 2026-04-04 22:59:36 +00:00
@@ -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!"')
|
||||
<
|
||||
==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user