mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
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.
This commit is contained in:
parent
2111f28fc5
commit
8d42db1eea
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user