diff options
author | Florian Walch <florian@fwalch.com> | 2015-03-20 22:49:36 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-26 17:30:26 -0400 |
commit | 13f0ef66b4b1eb3240a3891450bf96155359acfe (patch) | |
tree | 025ec57e7c465fade5332a78a0f643def01d2583 | |
parent | a6e53a3797a93fe060f807fe2e4c6361854b6c97 (diff) | |
download | rneovim-13f0ef66b4b1eb3240a3891450bf96155359acfe.tar.gz rneovim-13f0ef66b4b1eb3240a3891450bf96155359acfe.tar.bz2 rneovim-13f0ef66b4b1eb3240a3891450bf96155359acfe.zip |
doc: Document g:python_host_prog. #2205
-rw-r--r-- | runtime/doc/nvim_python.txt | 18 |
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: |