Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
80 lines
2.6 KiB
VimL
80 lines
2.6 KiB
VimL
"=============================================================================
|
|
" FILE: deoplete.vim
|
|
" AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
|
|
" TJ DeVries <devries.timothyj at gmail.com>
|
|
" License: MIT license
|
|
"=============================================================================
|
|
|
|
function! s:check_t_list() abort
|
|
if exists('v:t_list')
|
|
call health#report_ok('exists("v:t_list") was successful')
|
|
else
|
|
call health#report_error('exists("v:t_list") was not successful',
|
|
\ 'Deoplete requires neovim 0.3.0+!')
|
|
endif
|
|
endfunction
|
|
|
|
function! s:check_timers() abort
|
|
if has('timers')
|
|
call health#report_ok('has("timers") was successful')
|
|
else
|
|
call health#report_error('has("timers") was not successful',
|
|
\ 'Deoplete requires timers support("+timers").')
|
|
endif
|
|
endfunction
|
|
|
|
function! s:check_required_python() abort
|
|
if has('python3')
|
|
call health#report_ok('has("python3") was successful')
|
|
else
|
|
call health#report_error('has("python3") was not successful', [
|
|
\ 'Please install the python3 package for neovim.',
|
|
\ 'A good guide can be found here: ' .
|
|
\ 'https://github.com/tweekmonster/nvim-python-doctor/'
|
|
\ . 'wiki/Advanced:-Using-pyenv'
|
|
\ ]
|
|
\ )
|
|
endif
|
|
|
|
if !deoplete#init#_python_version_check()
|
|
call health#report_ok('Require Python 3.6.1+ was successful')
|
|
else
|
|
call health#report_error(
|
|
\ 'Require Python 3.6.1+ was not successful',
|
|
\ 'Please use Python 3.6.1+.')
|
|
endif
|
|
endfunction
|
|
|
|
function! s:check_required_msgpack() abort
|
|
if !deoplete#init#_msgpack_version_check()
|
|
call health#report_ok('Require msgpack 1.0.0+ was successful')
|
|
else
|
|
call health#report_error(
|
|
\ 'Require msgpack 1.0.0+ was not successful',
|
|
\ 'Please install/upgrade msgpack 1.0.0+.')
|
|
endif
|
|
endfunction
|
|
|
|
function! s:still_have_issues() abort
|
|
let indentation = ' '
|
|
call health#report_info("If you're still having problems, " .
|
|
\ "try the following commands:\n" .
|
|
\ indentation . "- $ export NVIM_PYTHON_LOG_FILE=/tmp/log\n" .
|
|
\ indentation . "- $ export NVIM_PYTHON_LOG_LEVEL=DEBUG\n" .
|
|
\ indentation . "- $ nvim\n" .
|
|
\ indentation . "- $ cat /tmp/log_{PID}\n" .
|
|
\ indentation . '- and then create an issue on github'
|
|
\ )
|
|
endfunction
|
|
|
|
function! health#deoplete#check() abort
|
|
call health#report_start('deoplete.nvim')
|
|
|
|
call s:check_t_list()
|
|
call s:check_timers()
|
|
call s:check_required_python()
|
|
call s:check_required_msgpack()
|
|
|
|
call s:still_have_issues()
|
|
endfunction
|