aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/nvim_python.txt18
1 files changed, 14 insertions, 4 deletions
diff --git a/runtime/doc/nvim_python.txt b/runtime/doc/nvim_python.txt
index 4d80fe941f..3e24163ad7 100644
--- a/runtime/doc/nvim_python.txt
+++ b/runtime/doc/nvim_python.txt
@@ -22,12 +22,22 @@ old Vim 7.3 API is supported.
If you just want to start using Vim Python plugins with Nvim quickly, here's a
simple tutorial:
-- Make sure Python 2.6 or 2.7 is available in your `$PATH`
-- Install the `neovim` Python package:
- >
- $ pip install neovim
+- Make sure Python 2.6 or 2.7 is available in your `$PATH`.
+- Install the `neovim` Python package systemwide:
+>
+ # pip install neovim
+<
+ or for the current user:
+>
+ $ pip install --user neovim
<
Most Python plugins created for Vim 7.3 should work after these steps.
+ *g:python_host_prog*
+
+To point Nvim to a specific Python interpreter, set `g:python_host_prog`:
+>
+ let g:python_host_prog='/path/to/python'
+<
==============================================================================
vim:tw=78:ts=8:noet:ft=help:norl: