Tags: neovim/pynvim
Tags
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. 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 of `async` (#274) * b65f62d Use `pytest` as `nosetests` are not longer maintained (#266) * d9aed96 Support using lua functions. `buf.update_higlights` as an internal example (#325)
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: * 2689ddc add tests for plugin decorators #298 * 63f257f allow library users to properly cleanup the event loop #303 * 59c184f expose the asyncio event loop as nvim.loop (python 3.4+ only) #294
python-client 0.2.0 Brings the client up-to-date with Nvim 0.2.1 Changes since 0.1.13: * a2e1169 Fix tests on windows (#201) * 9a0e729 Fix an indexing bug when setting lines in a Range object (#270) * 4abd5d0 Documentation update (#272) * a703b47 Make sure logging always uses UTF-8 regardless of locale (#276) * 68aa352 Add argument to allow nested notification handlers (#262)
neovim python-client 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: * ce840cb Add number attribute to Window and Tabpage objects * 111bc07 Use api level 1, as released with nvim 0.1.6. * ba1fcd4 add `neovim.VERSION` (python module version) and `nvim.version` attributes. * 6eb75a3 show full tracebacks for errors in handlers and callbacks