diff options
author | Daniel Hahler <github@thequod.de> | 2018-02-22 02:38:00 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-22 02:38:00 +0100 |
commit | 830b5819a046b03750a74fa6d745d1200c6215ec (patch) | |
tree | 5c024af5f50326cce68817f7c915a0adc775506a /scripts/shadacat.py | |
parent | 1eb4aff57a7c3f247b3d6267b608308ac96f5ec9 (diff) | |
download | rneovim-830b5819a046b03750a74fa6d745d1200c6215ec.tar.gz rneovim-830b5819a046b03750a74fa6d745d1200c6215ec.tar.bz2 rneovim-830b5819a046b03750a74fa6d745d1200c6215ec.zip |
health/provider: check Python also with loaded_var (#8047)
`g:loaded_python3_provider` gets set when the autoload file is sourced,
but this might error out, e.g. with deoplete:
[deoplete] Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is available in messages.
[deoplete] function remote#define#FunctionBootstrap[1]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 14
[deoplete] deoplete requires Python3 support("+python3").
[deoplete] deoplete failed to load. Try the :UpdateRemotePlugins command and restart Neovim. See also :checkhealth.
It refers to `:checkhealth` from there explicitly, which would then
(without this patch) say that Python 3 is disabled.
This patch changes the reported info to include that it might have been
disabled due to some error, and keeps on going.
Diffstat (limited to 'scripts/shadacat.py')
0 files changed, 0 insertions, 0 deletions