diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-09-14 11:06:17 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-09-14 11:06:17 +0900 |
commit | 8df5ca1a9db11d919f3426f4d05b281be8913c89 (patch) | |
tree | 35a70efb076f4c012f8f07e73b974dc64d2cf671 /autoload/deoplete/init.vim | |
parent | 48b1643509e4ef3a4af6cf57df35e6c6ac1275ce (diff) | |
download | deoplete.nvim-8df5ca1a9db11d919f3426f4d05b281be8913c89.zip |
Add Python3 version check
Diffstat (limited to 'autoload/deoplete/init.vim')
-rw-r--r-- | autoload/deoplete/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/deoplete/init.vim b/autoload/deoplete/init.vim index 5774346..5acdf6e 100644 --- a/autoload/deoplete/init.vim +++ b/autoload/deoplete/init.vim @@ -71,6 +71,10 @@ function! deoplete#init#_channel() abort \ 'deoplete requires Python3 support("+python3").') endif + if !deoplete#init#_python_version_check() + call deoplete#util#print_error('deoplete requires Python3.6.1+.') + endif + if deoplete#util#has_yarp() echomsg string(expand('<sfile>')) if !exists('*yarp#py3') |