From 13f0ef66b4b1eb3240a3891450bf96155359acfe Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Fri, 20 Mar 2015 22:49:36 +0200 Subject: [PATCH] doc: Document g:python_host_prog. #2205 --- runtime/doc/nvim_python.txt | 18 ++++++++++++++---- 1 file 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: