mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: Document g:python_host_prog. #2205
This commit is contained in:
parent
a6e53a3797
commit
13f0ef66b4
@ -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
|
If you just want to start using Vim Python plugins with Nvim quickly, here's a
|
||||||
simple tutorial:
|
simple tutorial:
|
||||||
|
|
||||||
- Make sure Python 2.6 or 2.7 is available in your `$PATH`
|
- Make sure Python 2.6 or 2.7 is available in your `$PATH`.
|
||||||
- Install the `neovim` Python package:
|
- Install the `neovim` Python package systemwide:
|
||||||
>
|
>
|
||||||
$ pip install neovim
|
# 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.
|
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:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
Loading…
Reference in New Issue
Block a user