Releases: neovim/pynvim
pynvim 0.2.6
Pynvim 0.2.5
This release adds support for Python 3.7 which now is in beta. async
is a keyword in python3.7, and it should be replaced with async_
when used as a keyword argument to API methods. async
is still supported with python 2.7 and 3.6 for the moment, but considered deprecated.
Also, integration with the in-process lua interpreter in Nvim is now supported. Please see the documentation for usage instructions.
Changes since 0.2.4:
- debcde0 clean up remote object implementation (#313)
- e880fe7 Guidelines for local plugin development (#317)
- 1ab98e8 Update the working directory on DirChanged for legacy plugins (#296)
- d53415d Fix SyntaxError in py3.7: use
async_
instead ofasync
(#274) - b65f62d Use
pytest
asnosetests
are not longer maintained (#266) - d9aed96 Support using lua functions.
buf.update_higlights
as an internal example (#325)
0.2.4
Python-client 0.2.3
Replacing 0.2.2, which had a merge error.
In this release support of python3.3 is dropped. Henceforth we want python3
rplugins to be able to assume the usage of asyncio, so they can use the asyncio
event loop and libraries that build on it.
Furthermore, a close() method is added on nvim session objects. When used as
a library for externally connecting to a nvim instance (i e not rplugins),
it is recommended to call the close() method on the session object when it is
not needed anymore. Alternatively, sessions can be used as a context manager:
with neovim.attach('socket', path=thepath) as nvim:
# do stuff with nvim session in this block:
print(nvim.funcs.getpid())
print(nvim.current.line)
This will close the session automatically.
Changes since 0.2.1:
Python-client 0.2.2
In this release support of python3.3 is dropped. Henceforth we want python3
rplugins to be able to assume the usage of asyncio, so they can use the asyncio
event loop and libraries that build on it.
Furthermore, a close() method is added on nvim session objects. When used as
a library for externally connecting to a nvim instance (i e not rplugins),
it is recommended to call the close() method on the session object when it is
not needed anymore. Alternatively, sessions can be used as a context manager:
with neovim.attach('socket', path=thepath) as nvim:
# do stuff with nvim session in this block:
print(nvim.funcs.getpid())
print(nvim.current.line)
This will close the session automatically.
Changes since 0.2.1:
Python-client 0.2.1
python-client 0.2.0
Brings the client up-to-date with Nvim 0.2.1.
Changes since 0.1.13:
neovim python-client 0.1.13
0.1.12
0.1.11
This release requires nvim 0.1.6 or later. Also python 2.6 support is dropped. Python 2.7 or 3.3+ is required.
Changes since 0.0.10: