doc: Document g:python_host_prog. #2205

This commit is contained in:
Florian Walch 2015-03-20 22:49:36 +02:00 committed by Justin M. Keyes
parent a6e53a3797
commit 13f0ef66b4

View File

@ -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: