Neovim

Latest version: v0.3.1

Safety actively analyzes 626325 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

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.

0.1.9

0.1.8

This version has experimental support for python plugins on windows.

0.1.7

Add back compatibility for `nvim.session.threadsafe_call` which is quite common.

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)`

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.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.