diff options
author | Daniel Hahler <github@thequod.de> | 2018-03-04 20:04:52 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-03-04 20:04:52 +0100 |
commit | 1d5eec2c626bd8125940c0425cc6f33213851781 (patch) | |
tree | 7127efe3adf5095e3f4c483556741a9e61720e50 /src/nvim/api/buffer.c | |
parent | b615192a37eb025b71276635845b57831b9f2c6b (diff) | |
download | rneovim-1d5eec2c626bd8125940c0425cc6f33213851781.tar.gz rneovim-1d5eec2c626bd8125940c0425cc6f33213851781.tar.bz2 rneovim-1d5eec2c626bd8125940c0425cc6f33213851781.zip |
health/provider: python: warning with correct host prog (#8049)
I have `g:python3_host_prog` set to the system Python, where a package
is also installed to provide the "neovim" module.
`:checkhealth provider` however displays a warning for this:
> Your virtualenv is not set up optimally.
This is because /usr/bin/python is not in /home/user/.pyenv.
I think this warning should not get displayed if host_prog_var exists.
It goes back to the initial commit (20447ba09), and is maybe only
missing the `!` there as with the previous commit.
Full output:
```
- INFO: pyenv: /home/user/.pyenv/libexec/pyenv
- INFO: pyenv root: /home/user/.pyenv
- INFO: Using: g:python3_host_prog = "/usr/bin/python"
- WARNING: Your virtualenv is not set up optimally (/usr/bin/python is not in /home/user/.pyenv).
- ADVICE:
- Create a virtualenv specifically for Neovim and use `g:python3_host_prog`. This will avoid the need to install Neovim's Python module in each virtualenv.
- WARNING: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results.
- ADVICE:
- If you are using Zsh, see: http://vi.stackexchange.com/a/7654
- INFO: Executable: /usr/bin/python
- INFO: Python3 version: 3.6.4
- INFO: python-neovim version: 0.2.1
- OK: Latest python-neovim is installed: 0.2.1
```
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions