diff options
| author | Marco Hinz <mh.codebro@gmail.com> | 2016-12-09 15:08:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-09 15:08:18 +0100 |
| commit | 20995c79602ac8361a46d24a298130f83d4df035 (patch) | |
| tree | e6da60d31c19d2ff5b0759cb1351fcac812e1b2d /runtime/doc | |
| parent | ddfac951eab5d392eb0bc36748bc3d586203cc11 (diff) | |
| download | rneovim-20995c79602ac8361a46d24a298130f83d4df035.tar.gz rneovim-20995c79602ac8361a46d24a298130f83d4df035.tar.bz2 rneovim-20995c79602ac8361a46d24a298130f83d4df035.zip | |
Remove g:python{,3}_host_skip_check (#5738)
This option simplifies the configuration options:
1) `g:python{,3}_host_prog` is not set.
Neovim tries its best to find a suitable interpreter. This means calling
exepath(), potentially multiple times, and a system('python -c ...') with
the first found interpreter, to get the Python version.
2) `g:python{,3}_host_prog` is set.
Avoids everything of the above. No safety checks, no training wheels. Fast
host startup time!
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/provider.txt | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt index a8b5966950..3cd53e3e50 100644 --- a/runtime/doc/provider.txt +++ b/runtime/doc/provider.txt @@ -48,11 +48,9 @@ Note: The `--upgrade` flag ensures you have the latest version even if PYTHON PROVIDER CONFIGURATION ~ *g:python_host_prog* -Set `g:python_host_prog` to point Nvim to a specific Python 2 interpreter: > - let g:python_host_prog = '/path/to/python' -< *g:python3_host_prog* -Set `g:python3_host_prog` to point Nvim to a specific Python 3 interpreter: > +Program to use for evaluating Python code. Setting this makes startup faster. > + let g:python_host_prog = '/path/to/python' let g:python3_host_prog = '/path/to/python3' < *g:loaded_python_provider* @@ -62,16 +60,6 @@ To disable Python 2 support: > *g:loaded_python3_provider* To disable Python 3 support: > let g:loaded_python3_provider = 1 -< - *g:python_host_skip_check* -Set `g:python_host_skip_check` to disable the Python 2 interpreter check. -Note: This requires you to install the python-neovim module properly. > - let g:python_host_skip_check = 1 -< - *g:python3_host_skip_check* -Set `g:python3_host_skip_check` to disable the Python 3 interpreter check. -Note: This requires you to install the python3-neovim module properly. > - let g:python3_host_skip_check = 1 ============================================================================== |