Releases: neovim/pynvim
0.1.10
This is the last version supporting python 2.6. This version supports nvim 0.1.5 or later. The next version will likely require (not yet released) nvim 0.1.6 due to changes in the RPC API.
Changes since 0.1.9:
0.1.9
0.1.8
This version has experimental support for python plugins on windows.
Changes since 0.1.7:
0.1.7
0.1.6
This release contains some breaking changes, primarily for using this package as a client to remote nvim instances. Most python plugins (both legacy and rplugins) are expected to be unaffected.
This version requires recent master version of neovim (or 0.1.3 when it gets released).
nvim.session
is unexported. Upgrade clients as follows:
nvim.session.threadsafe_call
-> nvim.async_call
nvim.session.next_message
-> nvim.next_message
nvim.session.run
-> nvim.run_loop
nvim.session.stop
-> nvim.stop_loop
nvim.session.request
-> nvim.request
(or nvim.api.method
)
nvim.with_hook
is gone. This was mostly used by clients to configure decoding on python3. With this release, neovim.attach
will activate decoding for python3, so str
is returned by default on both python2 and python3. attach
takes an optional boolean keyword argument decode
, to force decoding on or off. Decoding behavior can be changed with
nvim2 = nvim.with_decode(True/False)
Changes since 0.1.5:
- b192bae make
nvim.current.range.start/end
behave like in Vim - 9498b38 more robust way to find the script host
- 6655ced remove SessionHook and move public session api to the
nvim
object - 22537a2 introduce
nvim.api.some_method
andbuffer.api.some_method
to call the msgpack API directly - 69d6d0f allow
nosetests
without needing to set envirionment varibles to find nvim - 0886e84 remove DecodeHook
- 02e28e7 change
neovim.attach
to setup decoding for python3
Also some bugs regarding line indexing are fixed in neovim master (not the python-client), for instance buffer.append("line", i)
, when the line is inserted after the last existing line, is no longer an error.
0.1.5
Previously, when implementing an rplugin as a package, an empty dummy file was needed like this:
rplugin/python3/mypackage.py # empty file
rplugin/python3/mypackage/__init__.py # contains spec
rplugin/python3/mypackage/helpers.py
rplugin/python3/mypackage/...
This is no longer neccessary and mypackage.py
can be deleted.
Changes since 0.1.4:
0.1.4
0.1.3
The gui was removed in this release, and is now available at neovim/python-gui and as the pip package neovim_gui
Changes since 0.1.2: