Setting to let user silence +python error.

If the user kicks off a version of vim with the jedi-vim plugin without
having Python support compiled in, it gives an error which halts vim
from starting up until it is dismissed. This commit adds a way to opt
out of that warning for people who use the same configuration and
plugins on different machines and different versions of vim.
This commit is contained in:
Emily Strickland
2013-01-03 21:32:23 -08:00
parent bd01c84e9f
commit 3bbc8d4c57

View File

@@ -6,7 +6,9 @@
" lies in the python files around it.
if !has('python')
echomsg "Error: Required vim compiled with +python"
if !exists("g:jedi#squelch_py_warning")
echomsg "Error: Required vim compiled with +python"
endif
finish
endif