forked from VimPlug/jedi-vim
better warning when python is not available
This commit is contained in:
@@ -230,7 +230,7 @@ elseif has('python3')
|
|||||||
command! -nargs=1 Python python3 <args>
|
command! -nargs=1 Python python3 <args>
|
||||||
else
|
else
|
||||||
if !exists("g:jedi#squelch_py_warning")
|
if !exists("g:jedi#squelch_py_warning")
|
||||||
echomsg "Error: Required vim compiled with +python"
|
echomsg "Error: jedi-vim requires vim compiled with +python"
|
||||||
endif
|
endif
|
||||||
finish
|
finish
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user