aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-07-01 14:02:05 +0300
committerMichael Reed <m.reed@mykolab.com>2015-07-01 18:59:07 -0400
commitb4d45f635dec20f49832666ef9f59069b293827e (patch)
treedcbe5ed050806a7b5b4a632975ace58f7c1e4db9
parentb656a954cfec0379a5bb2f7f5d1f28cbc03324df (diff)
downloadrneovim-b4d45f635dec20f49832666ef9f59069b293827e.tar.gz
rneovim-b4d45f635dec20f49832666ef9f59069b293827e.tar.bz2
rneovim-b4d45f635dec20f49832666ef9f59069b293827e.zip
doc: Mention that Python module might be provided by package manager #2935
Using e.g. a Linux distribution's package manager should be preferred over installing the `neovim` Python modules with `pip`.
-rw-r--r--runtime/doc/nvim_python.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/doc/nvim_python.txt b/runtime/doc/nvim_python.txt
index 1117480a1a..a93e89303c 100644
--- a/runtime/doc/nvim_python.txt
+++ b/runtime/doc/nvim_python.txt
@@ -20,16 +20,25 @@ Note: For now only the old Vim 7.3 API is supported.
==============================================================================
2. Quickstart *nvim-python-quickstart*
+If you used a package manager to install Nvim, there's a good chance that
+it also provides the `neovim` Python package. If it doesn't, follow these
+steps to install the package with Python's package manager, `pip`.
+
+Note: Depending on your system, `pip` might refer to Python 2 or Python 3,
+ which is why the following instructions mention `pip2` or `pip3`
+ explicitly. If one of these is not available for you, maybe `pip`
+ is what you want.
+
To use Vim Python 2/3 plugins with Nvim, do the following:
- For Python 2 plugins, make sure an interpreter for Python 2.6 or 2.7 is
available in your `$PATH`, then install the `neovim` Python package systemwide:
>
- $ sudo pip install neovim
+ $ sudo pip2 install neovim
<
or for the current user:
>
- $ pip install --user neovim
+ $ pip2 install --user neovim
<
- For Python 3 plugins, make sure an interpreter for Python 3.3 or above is
available in your `$PATH`, then install the `neovim` Python package systemwide: