Skip to content

Commit

Permalink
tools, docs: continue "pynvim" rename
Browse files Browse the repository at this point in the history
ref #305
  • Loading branch information
justinmk committed Nov 18, 2018
1 parent 2165d6b commit 22e5919
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
### Pynvim: Python client to [Neovim](https://github.com/neovim/neovim)

[![Build Status](https://travis-ci.org/neovim/python-client.svg?branch=master)](https://travis-ci.org/neovim/python-client)
[![Build Status](https://travis-ci.org/neovim/pynvim.svg?branch=master)](https://travis-ci.org/neovim/pynvim)
[![Documentation Status](https://readthedocs.org/projects/pynvim/badge/?version=latest)](http://pynvim.readthedocs.io/en/latest/?badge=latest)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/neovim/python-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/neovim/python-client/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/neovim/python-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/neovim/python-client/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/neovim/pynvim/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/neovim/pynvim/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/neovim/pynvim/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/neovim/pynvim/?branch=master)

Pynvim implements support for python plugins in Nvim. It also works as a library for
connecting to and scripting Nvim processes through its msgpack-rpc API.
Expand Down
2 changes: 1 addition & 1 deletion docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you change the code, you need to run::
for the changes to have effect.
Alternatively you could execute Neovim with the ``$PYTHONPATH`` environment variable::

PYTHONPATH=/path/to/python-client nvim
PYTHONPATH=/path/to/pynvim nvim

But note this is not completely reliable,
as installed packages can appear before ``$PYTHONPATH`` in the python search path.
Expand Down
10 changes: 5 additions & 5 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ You can install the package without being root by adding the ``--user`` flag::
If you only use one of python2 or python3,
it is enough to install that version.

If you follow Neovim HEAD,
make sure to upgrade the ``python-client`` when you upgrade Neovim::
If you follow Neovim HEAD, make sure to upgrade ``pynvim`` when you upgrade
Neovim::

pip2 install --upgrade pynvim
pip3 install --upgrade pynvim

Install from source
-------------------

Clone the repository somewhere on your disk and enter to the repository::
Clone the repository somewhere on your disk and enter to the repository::

git clone https://github.com/neovim/python-client.git
cd python-client
git clone https://github.com/neovim/pynvim.git
cd pynvim

Now you can install it on your system::

Expand Down
2 changes: 1 addition & 1 deletion pynvim/plugin/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _load(self, plugins):
kind = "rplugin"
name = "python{}-{}-host".format(sys.version_info[0], kind)
attributes = {"license": "Apache v2",
"website": "github.com/neovim/python-client"}
"website": "github.com/neovim/pynvim"}
self.nvim.api.set_client_info(
name, VERSION.__dict__, "host", host_method_spec,
attributes, async_=True)
Expand Down
2 changes: 1 addition & 1 deletion pynvim/plugin/script_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, nvim):
'au DirChanged * call rpcnotify({}, "python_chdir", v:event.cwd)'
.format(nvim.channel_id), async_=True)
# XXX: Avoid race condition.
# https://github.com/neovim/python-client/pull/296#issuecomment-358970531
# https://github.com/neovim/pynvim/pull/296#issuecomment-358970531
# TODO(bfredl): when host initialization has been refactored,
# to make __init__ safe again, the following should work:
# os.chdir(nvim.eval('getcwd()', async_=False))
Expand Down

0 comments on commit 22e5919

Please sign in to comment.