jedi#auto_vim_configuration might not have been set before loading plugin. Therefore check if it was set.

This commit is contained in:
Dave Halter
2015-04-02 16:16:17 +02:00
parent d3fadd54c7
commit bf96f7d611
4 changed files with 11 additions and 12 deletions

View File

@@ -4,8 +4,7 @@
" This part of the software is just the vim interface. The really big deal is
" the Jedi Python library.
if g:jedi#auto_vim_configuration
if !exists("g:jedi#auto_vim_configuration") || g:jedi#auto_vim_configuration
" jedi-vim doesn't work in compatible mode (vim script syntax problems)
if &compatible
set nocompatible