summaryrefslogtreecommitdiff
path: root/autoload/deoplete/init.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2019-09-14 11:06:17 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2019-09-14 11:06:17 +0900
commit8df5ca1a9db11d919f3426f4d05b281be8913c89 (patch)
tree35a70efb076f4c012f8f07e73b974dc64d2cf671 /autoload/deoplete/init.vim
parent48b1643509e4ef3a4af6cf57df35e6c6ac1275ce (diff)
downloaddeoplete.nvim-8df5ca1a9db11d919f3426f4d05b281be8913c89.zip
Add Python3 version check
Diffstat (limited to 'autoload/deoplete/init.vim')
-rw-r--r--autoload/deoplete/init.vim4
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')