mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 11:34:51 +08:00
Check for +python3 as well (refs #66)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
" This part of the software is just the vim interface. The main source code
|
" This part of the software is just the vim interface. The main source code
|
||||||
" lies in the python files around it.
|
" lies in the python files around it.
|
||||||
|
|
||||||
if !has('python')
|
if !has('python') && !has('python3')
|
||||||
if !exists("g:jedi#squelch_py_warning")
|
if !exists("g:jedi#squelch_py_warning")
|
||||||
echomsg "Error: Required vim compiled with +python"
|
echomsg "Error: Required vim compiled with +python"
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user