mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-01 16:03:58 +08:00
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:
1 parent
bd01c84e9f
commit
3bbc8d4c57
1 file changed
+3
-1
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user