aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-05-08 12:09:59 +0200
committerFlorian Walch <florian@fwalch.com>2015-06-09 10:29:46 +0300
commit8d42db1eeaac03028257513aa093df79efc9c025 (patch)
tree6059079399f6e6893c06a8b79aeb0aa2bb91942b /runtime/autoload
parent2111f28fc5b716bafd7524567398c4ce020e1cc8 (diff)
downloadrneovim-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.vim8
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'))