mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
26 lines
784 B
VimL
26 lines
784 B
VimL
"=============================================================================
|
|
" FILE: defx.vim
|
|
" AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
|
|
" License: MIT license
|
|
"=============================================================================
|
|
|
|
function! s:check_required_python_for_defx() abort
|
|
if has('python3')
|
|
call health#report_ok('has("python3") was successful')
|
|
else
|
|
call health#report_error('has("python3") was not successful')
|
|
endif
|
|
|
|
if defx#init#_python_version_check()
|
|
call health#report_error('Python 3.6.1+ was successful')
|
|
else
|
|
call health#report_ok('Python 3.6.1+ was successful')
|
|
endif
|
|
endfunction
|
|
|
|
function! health#defx#check() abort
|
|
call health#report_start('defx.nvim')
|
|
|
|
call s:check_required_python_for_defx()
|
|
endfunction
|