mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
jedi#auto_vim_configuration might not have been set before loading plugin. Therefore check if it was set.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user