diff options
author | Daniel Hahler <git@thequod.de> | 2015-05-08 12:09:59 +0200 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-06-09 10:29:46 +0300 |
commit | 8d42db1eeaac03028257513aa093df79efc9c025 (patch) | |
tree | 6059079399f6e6893c06a8b79aeb0aa2bb91942b /runtime/autoload | |
parent | 2111f28fc5b716bafd7524567398c4ce020e1cc8 (diff) | |
download | rneovim-8d42db1eeaac03028257513aa093df79efc9c025.tar.gz rneovim-8d42db1eeaac03028257513aa093df79efc9c025.tar.bz2 rneovim-8d42db1eeaac03028257513aa093df79efc9c025.zip |
remote#host#RequirePythonHost: fix reference to log
I could not find a reference to NVIM_PYTHON_PYTHON_LOG anywhere, and
python-client looks for NVIM_PYTHON_LOG_FILE.
~/.nvimlog appears to be hardcoded and enabled by default. This would
need to be adjusted when this changes.
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/remote/host.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 2a7cd3c43b..a8b505d096 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -214,10 +214,12 @@ function! s:RequirePythonHost(name) catch echomsg v:exception endtry - throw 'Failed to load python host. You can try to see what happened ' . - \ 'by starting Neovim with $NVIM_PYTHON_PYTHON_LOG and opening '. + throw 'Failed to load Python host. You can try to see what happened '. + \ 'by starting Neovim with the environment variable '. + \ '$NVIM_PYTHON_LOG_FILE set to a file and opening '. \ 'the generated log file. Also, the host stderr will be available '. - \ 'in Neovim log, so it may contain useful information.' + \ 'in Neovim log, so it may contain useful information. '. + \ 'See also ~/.nvimlog.' endfunction call remote#host#Register('python', function('s:RequirePythonHost')) |